fix getsubopt declaration

Eric Blake ebb9@byu.net
Tue Dec 22 13:31:00 GMT 2009


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

Any objections to this?  POSIX 2008 requires getsubopt in <stdlib.h> (even
though it also requires getopt in <unistd.h> - what a historical wart).

2009-12-22  Eric Blake  <ebb9@byu.net>

	* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
	* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.

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

iEYEARECAAYFAkswVPkACgkQ84KuGfSFAYDVwgCeP4PCfcFs8wwRyXnJIk0mgs4g
ChIAn1o912ryNC8lOlPfx0kDoUHrp7+G
=H8QO
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch45
URL: <http://sourceware.org/pipermail/newlib/attachments/20091222/553ca71e/attachment.ksh>


More information about the Newlib mailing list