From owner-cvs-all Sat Sep 15 11:42: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id B14A637B403; Sat, 15 Sep 2001 11:41:53 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id f8FIfrP71589; Sat, 15 Sep 2001 11:41:53 -0700 (PDT) (envelope-from obrien) Date: Sat, 15 Sep 2001 11:41:53 -0700 From: "David O'Brien" To: Mike Barcroft Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/net byteorder.3 src/sys/alpha/include ansi.h endian.h src/sys/arm/include ansi.h src/sys/i386/include ansi.h endian.h src/sys/ia64/include ansi.h endian.h src/sys/powerpc/include ansi.h endian.h src/sys/sparc64/include ... Message-ID: <20010915114153.A70624@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <200108300004.f7U04JN26372@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108300004.f7U04JN26372@freefall.freebsd.org>; from mike@FreeBSD.org on Wed, Aug 29, 2001 at 05:04:19PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 29, 2001 at 05:04:19PM -0700, Mike Barcroft wrote: > mike 2001/08/29 17:04:19 PDT > > Modified files: > lib/libc/net byteorder.3 > sys/alpha/include ansi.h endian.h > sys/arm/include ansi.h > sys/i386/include ansi.h endian.h > sys/ia64/include ansi.h endian.h > sys/powerpc/include ansi.h endian.h > sys/sparc64/include ansi.h endian.h > sys/sys types.h > Log: > o Change byteorder(3) prototypes to use standards compliant uint32_t > (spelled __uint32_t to reduce namespace pollution). Why not spell it the C99 Standard way of "uint32_t"? ISO/IEC 9899:1999(E) 7.18.1.1 Exact-width interger types 1 The typedef name intN_t designates a signed integer type with width N, no padding bits, and a two's complement representation. Thus, int8_t denotes a signed integer type with a width of exactly 8 bits. 2 The typedef name uintN_t designates an unsigned integer type with width N. Thus, uint24_t denotes an unsigned integer type with a width of exactly 24 bits. 3 These types are optional. However, if an implementation provides integer types with widths of 8, 16, 32, or 64 bits, it shall define the corresponding typedef names. We could follow the NetBSD lead of putting these in and . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message