This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix up bswap_* types


On Wed, Aug 22, 2012 at 04:46:10PM -0700, Roland McGrath wrote:
> Yes, we could instead move __*_ENDIAN into another file.  The cleanest
> arrangement would be:
> 
> * bits/endian.h becomes a generic header that defines __*_ENDIAN and does
>   #include <bits/byteorder.h>.  Only this file would need complex
>   guards to allow inclusion via <endian.h> or <ctype.h> or <wctype.h>.
> * sysdeps bits/endian.h files all renamed to bits/byteorder.h and have
>   a guard for _BITS_BYTEORDER_H.

That sounds good, thank both of you.  I'll try hack something up 
over the next few days.

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]