[PATCH 11/17] Regex: Remove leading __ on parameter names in

Joseph Myers joseph@codesourcery.com
Fri Dec 8 11:22:00 GMT 2017


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



More information about the Libc-alpha mailing list