fix getsubopt declaration

Corinna Vinschen vinschen@redhat.com
Mon Dec 28 13:24:00 GMT 2009


On Dec 21 22:11, Eric Blake wrote:
> -----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.

Looks good to me.  Please apply.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list