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 05/13] Installed header hygiene (BZ#20366): BYTE_ORDER macros.


On 08/29/2016 09:16 PM, Zack Weinberg wrote:
> <endian.h> only defines BYTE_ORDER, BIG_ENDIAN, LITTLE_ENDIAN,
> etc. under __USE_MISC; glibc's headers should use __BYTE_ORDER,
> __BIG_ENDIAN, __LITTLE_ENDIAN, etc. instead.
> 
> 	* inet/netinet/icmp6.h, inet/netinet/ip6.h
> 	* resolv/arpa/nameser_compat.h:
> 	Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.

It is conceivable that much of what is in these headers is only
usable with __USE_MISC, but it should still get cleaned up.

LGTM.

-- 
Cheers,
Carlos.


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