diff options
author | David O'Brien <obrien@FreeBSD.org> | 2002-10-12 04:01:04 +0000 |
---|---|---|
committer | David O'Brien <obrien@gcc.gnu.org> | 2002-10-12 04:01:04 +0000 |
commit | 520157677f8db42ebfb1bacd2d5d8be6dd1aa5d7 (patch) | |
tree | e07c2ba286a97478ddd4374820166eddb8a6b578 /include/getopt.h | |
parent | 5dd78e9a69102038e5dcf029c718bfade6dd5461 (diff) | |
download | gcc-520157677f8db42ebfb1bacd2d5d8be6dd1aa5d7.zip gcc-520157677f8db42ebfb1bacd2d5d8be6dd1aa5d7.tar.gz gcc-520157677f8db42ebfb1bacd2d5d8be6dd1aa5d7.tar.bz2 |
getopt.h: getopt is in unistd.h.
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
Diffstat (limited to 'include/getopt.h')
-rw-r--r-- | include/getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/getopt.h b/include/getopt.h index 0c6470b..da09cee 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 |