[PATCH] Fix up bswap_* types

Roland McGrath roland@hack.frob.com
Wed Aug 22 20:12:00 GMT 2012


> because {,w}ctype.h contains <endian.h> and
> we end up including sysdeps/generic/stdint.h which defines macros above.
> I've circumvent that by using #ifndef _ISOMAC guard around them.

They are wrong to include <endian.h>, which declares public symbols.
They should use only <bits/endian.h> instead.  This means all the various
bits/endian.h files need their #ifndef _ENDIAN_H sanity checks adjusted.


Thanks,
Roland



More information about the Libc-alpha mailing list