On Thu, Feb 27, 2003 at 10:30:58PM -0500, Mike Barcroft wrote: > > Most of these could probably be implemented in terms of the __bswap*() > functions in <machine/endian.h>, except for vendor sources like > openssl, and htonl and ntohl which already are. I'm not sure if there > would be an advantage to moving the geom byte ordering functions to > <sys/endian.h> (I guess phk didn't either).
The geom functions serve a primary purpose of dealing with random alignment of fields. The endianness has been added later, so they now serve a dual function. Do not unify them with byte-order only functions. -- Marcel Moolenaar USPA: A-39004 [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message