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 */