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

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluGqVYACgkQ9TYGna5E
T6AkMRAApiuOnsImJ1voKTQI/P82TkKA7RKfP0+gT4FOyvDCYyxcg2AwyWNiqov2
AtTq26oPNtmtx0xTDKtLrb8zmVt+leAKSc9ENM2Cla1q3Jb8P4ZzwLhQ3ag8M9kf
MCrmpksjINuT2YuoGYH+Gam2hcpqv9f/7IEcNEG5/sBhOv/Dqv6/A5sQxT2Dulen
T5eyJWZUdHCB7ZKOKAw/LyHMeuyo6/Vs0MUrf0YagBrzvBYlL33rwN7lAXlWDZCr
HnD0RbrDD49jTb56WMo0xV5Ii5YgzmzZFellLvMXsubgG6GKTv17QI7Px79Ymn+C
pbPvcGmB/7A7QQBImUtJvBQ2J2yvSxaxuBuPX+yO9+HnMBBogAZgRmX4FY85QKz8
f+jl6uV2NBPUllWndI5Qn3UF0HGfvzF7FPz9odObYHiHi15sTccxf3Uhklc3P0L0
UvROg8CMcrxOfaXNKMhXoWozJ6ocwrtl+s5MYuBG3v3GjXNJ/vQlw9Ed5WwGDBpZ
qpCTgF3L5wsr/G1M9AC/NbBggGEmrjMkW+6G3E/P7o6lGNKBxNwCWAPIBXtqQK+W
J43tDqQMy9LXBZb33+tRbjFvgRq9Cx5tPtkaQwzC9UD8BMhxYh9RyOXPCpxD1rle
5SsP34C/re87LwGTEn3Go1lUygWP3UHIX1T+/CJck2XLtKZrMEo=
=1kQx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.