bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getopt: make declaration available from <unistd.h>


From: Eric Blake
Subject: Re: getopt: make declaration available from <unistd.h>
Date: Wed, 12 Aug 2009 16:23:26 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Bruno Haible <bruno <at> clisp.org> writes:

> 
> POSIX specifies that getopt() and the four variables optarg etc. should be
> declared in <unistd.h>. But gnulib provides them only in <getopt.h>. This
> fixes it.

POSIX doesn't require <getopt.h>.  How about we also change the getopt module 
to change the recommended Include: line over to <unistd.h>?

-- 
Eric Blake







reply via email to

[Prev in Thread] Current Thread [Next in Thread]