This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: fix getsubopt declaration
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Tue, 22 Dec 2009 11:47:08 +0100
- Subject: Re: fix getsubopt declaration
- References: <4B3054F9.2070202@byu.net>
- Reply-to: newlib at sourceware dot org
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