summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-07-31 01:00:50 +0000
committerWarner Losh <imp@FreeBSD.org>2004-07-31 01:00:50 +0000
commitd68c1e59a80e0f1bea0c64f4bef0b292cc60babd (patch)
treeb825a37d301b7557aabfefcfaf00c4c006b2af2c /lib/libc
parent55d6eb9fef37de85ba595146e4dda73d25fba9c5 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/getopt.33
1 files changed, 1 insertions, 2 deletions
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 <unistd.h>
int bflag, ch, fd;
bflag = 0;