[PATCH] Use __unused0 instead of __unused for user visible struct members

Roland McGrath roland@hack.frob.com
Wed Feb 8 18:20:00 GMT 2012


> * Renames all __pad, __padN, __padded, __private_tm (this one might
>   be controversial?), __unused, __unusedN symbols to __glibc_reservedN,
>   where N starts at 1, because that was the prevalent starting index
>   on the code base.
> * Renames the _HAVE_STAT___UNUSED<N> and _HAVE_STAT___PAD<N> type
>   macros to _HAVE_STAT___GLIBC_RESERVED<N>.

I only see such macros in kernel_stat.h and xstatconv.c.
The changes we're talking about are only for public headers.
For kernel_stat.h we should keep exactly the names used in
the kernel headers, for ease of maintenance.


Thanks,
Roland



More information about the Libc-alpha mailing list