This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: avoid compiler warning in getopt.h
- From: Eric Blake <ebb9 at byu dot net>
- To: newlib at sources dot redhat dot com
- Date: Wed, 07 Oct 2009 21:20:31 -0600
- Subject: Re: avoid compiler warning in getopt.h
- References: <4ABE5381.1080502@byu.net>
-----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-----