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 11/17] Regex: Remove leading __ on parameter names in


On Fri, 8 Dec 2017, Arnold Robbins wrote:

> This patch removes the leading '__' on parameter names in the
> various function declarations in regex.h.

This is an installed header and must be namespace-clean.  Unless it is 
specifically part of the documented API for that header (much of which 
comes from POSIX) that symbol names such as "buffer", "pattern" and 
"length" are reserved by the header and must not be defined as macros by 
the user before it's included, such changes are incorrect.

-- 
Joseph S. Myers
joseph@codesourcery.com


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