avoid compiler warning in getopt.h

Eric Blake ebb9@byu.net
Sun Sep 27 12:21:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
	
- --
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/

iEYEARECAAYFAkq+U4EACgkQ84KuGfSFAYBOAwCfWY7ljuKi1vDUNbvP/+C5pBNU
zj4An34uj/0cJb3k6arJuB3uVyDwmci4
=smE2
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch42
URL: <http://sourceware.org/pipermail/newlib/attachments/20090927/f97a49d6/attachment.ksh>


More information about the Newlib mailing list