This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Ping Re: Fix more namespace issues in sys/ucontext.h (bug 21457)
On Mon, 22 May 2017, Zack Weinberg wrote:
> On Mon, May 22, 2017 at 7:32 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> > Ping. This patch
> > <https://sourceware.org/ml/libc-alpha/2017-05/msg00484.html> is pending
> > review.
>
> So I'm OK with __ versions of NGREG, NFPREG, etc, but is it really
> necessary to mangle structure field names? Is it just to defend
> against user definitions of those identifiers as preprocessor macros,
Yes. These names (many of them very generic, such as "state" or
"version") are not reserved as macro names.
--
Joseph S. Myers
joseph@codesourcery.com