diff options
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index bdbed8d..88fb51f 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -164,8 +164,7 @@ The function returns \-1 when the argument list is exhausted. .Sh EXAMPLES .Bd -literal -compact -extern char *optarg; -extern int optind; +#include <unistd.h> int bflag, ch, fd; bflag = 0; |