[PATCH] Drop non-reserved parameter names from sys/signal.h
Andy Koppe
andy.koppe@gmail.com
Wed Aug 29 14:24:00 GMT 2018
Sorry. Patch attached.
On 29 August 2018 at 15:10, Corinna Vinschen <vinschen@redhat.com> wrote:
> 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: drop-parameter-names.patch
Type: application/octet-stream
Size: 1960 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180829/0dcd11cc/attachment.obj>
More information about the Newlib
mailing list