[PATCH] Drop non-reserved parameter names from sys/signal.h

Corinna Vinschen vinschen@redhat.com
Wed Aug 29 14:15:00 GMT 2018


On Aug 29 14:36, Andy Koppe wrote:
> Hi,
> 
> Standard headers shouldn't use non-reserved identifiers as parameter
> names in function declarations, because programs could in theory
> define macros with such names before including a header, which can
> result in syntax errors. The patch below drops parameter names such as
> "value" and "set" from libc/include/sys/signal.h (which is included by
> the standard signal.h).

The patch doesn't apply cleanly (MUA breaking it?).  If in doubt,
please attach it to your mail.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180829/d3cecdd1/attachment.sig>


More information about the Newlib mailing list