avoid compiler warning in getopt.h

Jeff Johnston jjohnstn@redhat.com
Thu Oct 8 16:35:00 GMT 2009


Patch applied.

-- Jeff J.

On 07/10/09 11:20 PM, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Eric Blake on 9/26/2009 11:46 AM:
>> OK to apply, to avoid warnings about declaring the unused type getopt_data
>> inside a function argument list?
>>
>> 2009-09-26  Eric Blake<ebb9@byu.net>
>>
>> 	* libc/include/getopt.h (__getopt_r, __getopt_long_r)
>> 	(__getopt_long_only_r): Protect declarations, to avoid compiler
>> 	warning.
>
> Ping.
>
> - --
> Don't work too hard, make some time for fun as well!
>
> Eric Blake             ebb9@byu.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkrNWn4ACgkQ84KuGfSFAYDx0wCghJKZ6FpuGDfeeWWYl8Ia7tDK
> AfsAoKh1ZYt3xkkpCC5+2otLqUhWVXEW
> =0kWo
> -----END PGP SIGNATURE-----



More information about the Newlib mailing list