diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index bdbed8d0784f..88fb51f38fec 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 int bflag, ch, fd; bflag = 0;