[PATCH] Fix up bswap_* types

Marek Polacek polacek@redhat.com
Wed Aug 22 23:59:00 GMT 2012


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



More information about the Libc-alpha mailing list