This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] Drop non-reserved parameter names from sys/signal.h


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

Attachment: drop-parameter-names.patch
Description: Binary data


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