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] Get rid of PARAMS macro


On Fri, 27 Jan 2012, Marek Polacek wrote:

> 2012-01-27  Marek Polacek  <polacek@redhat.com>
> 
> 	* libio/libio.h: Don't define _PARAMS.
> 	* programs/config.h: Don't define PARAMS.

That's locale/programs/config.h.

> 	* stdlib/strtol_l.c: Likewise.
> 	(__strtol_l): Remove PARAMS from the prototype.

The patch looks good to me.  While __P is/was pretty widely used in BSD 
code, I don't think we need to worry about code using _PARAMS from libio.h 
as if it were a public interface (if we did want to support it as a public 
interface, sys/cdefs.h would be a better place).

-- 
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]