summaryrefslogtreecommitdiff
path: root/include/getopt.h
diff options
context:
space:
mode:
authorobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-12 04:01:04 +0000
committerobrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-12 04:01:04 +0000
commit5b664e054fa56f52a6171f547758e8d264c6d74a (patch)
treee07c2ba286a97478ddd4374820166eddb8a6b578 /include/getopt.h
parent70e488baa7fb5a4c9edfe2f2d96fa510d84702af (diff)
downloadgcc-5b664e054fa56f52a6171f547758e8d264c6d74a.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58078 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/getopt.h')
-rw-r--r--include/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 0c6470b3ddb..da09cee3be1 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -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