[PATCH,HURD] Fix sysdep.h and thread_state.h inclusion protection
Samuel Thibault
samuel.thibault@ens-lyon.org
Thu Feb 17 01:25:00 GMT 2011
Roland McGrath, le Wed 16 Feb 2011 14:42:31 -0800, a écrit :
> These are libc-internal headers. Why do they get included more than once?
./sysdeps/i386/i686/multiarch/memcmp.S includes sysdep.h,
redefines the ENTRY macro, and then ../memcmp.s, which is
./sysdeps/i386/i686/memcmp.S, which includes sysdep.h again, which
redefines the ENTRY macro again to something else, making the first
memcmp.S definition moot. There is no such issue on Linux since it has
inclusion protection.
Samuel
More information about the Libc-alpha
mailing list