]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
getopt.h: getopt is in unistd.h.
authorDavid O'Brien <obrien@FreeBSD.org>
Sat, 12 Oct 2002 04:01:04 +0000 (04:01 +0000)
committerDavid O'Brien <obrien@gcc.gnu.org>
Sat, 12 Oct 2002 04:01:04 +0000 (04:01 +0000)
2002-10-11  David O'Brien  <obrien@FreeBSD.org>
* getopt.h: getopt is in unistd.h.  The Single UNIX(tm) Specification,
Version 2 Copyright (c)1997 The Open Group

Approved by:  Committed as obvious.

From-SVN: r58078

include/ChangeLog
include/getopt.h

index 64e99549c09c6aa34a1d262d5a648aef256a3266..b7b4bfbb29d9a808bd69002e6fea6506ccfef8ef 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-11  David O'Brien  <obrien@FreeBSD.org>
+
+       * getopt.h: getopt is in unistd.h.  The Single UNIX(tm) Specification,
+       Version 2 Copyright (c)1997 The Open Group
+
 2002-09-19  Alexandre Oliva  <aoliva@redhat.com>
 
        * libiberty.h (asprintf, vasprintf): Don't declare them if the
index 0c6470b3ddb9f1e12d1dff146b0a4b47bcb5818f..da09cee3be10d0bc69256940243f4132662e233a 100644 (file)
@@ -108,7 +108,7 @@ struct option
 #if !HAVE_DECL_GETOPT
 #if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT)
 /* Many other libraries have conflicting prototypes for getopt, with
-   differences in the consts, in stdlib.h.  To avoid compilation
+   differences in the consts, in unistd.h.  To avoid compilation
    errors, only prototype getopt for the GNU C library.  */
 extern int getopt (int argc, char *const *argv, const char *shortopts);
 #else