From ef5b63990291bec80752d1aeba90e0351c676479 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 15 Jul 2002 21:32:45 +0000 Subject: [PATCH] getopt(3) was also added in 1003.2-1992. --- include/unistd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/unistd.h b/include/unistd.h index e89dc257f426..ff858bf76338 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -134,13 +134,13 @@ char *ttyname(int); int unlink(const char *); ssize_t write(int, const void *, size_t); -extern char *optarg; /* getopt(3) external variables */ -extern int optind, opterr, optopt; -int getopt(int, char * const [], const char *); - /* 1003.2-1992 */ #if __POSIX_VISIBLE >= 199209 size_t confstr(int, char *, size_t); +int getopt(int, char * const [], const char *); + +extern char *optarg; /* getopt(3) external variables */ +extern int optind, opterr, optopt; #endif /* ISO/IEC 9945-1: 1996 */