summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornatano <natano@openbsd.org>2016-10-16 09:19:15 +0000
committernatano <natano@openbsd.org>2016-10-16 09:19:15 +0000
commit0e85c19935596c3ea3db9c80ed9a39fd38ab021a (patch)
treec82fba164982ba6776f07941e9c49786fa94bb84
parentStop complaining about changed kernel options when called for an empty (diff)
downloadwireguard-openbsd-0e85c19935596c3ea3db9c80ed9a39fd38ab021a.tar.xz
wireguard-openbsd-0e85c19935596c3ea3db9c80ed9a39fd38ab021a.zip
Remove declarations for optarg and optind. They are declared in <unistd.h>.
ok tb
-rw-r--r--usr.sbin/config/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index 193e9dd6f4b..d01f62e91ac 100644
--- a/usr.sbin/config/main.c
+++ b/usr.sbin/config/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.53 2016/10/16 08:47:17 natano Exp $ */
+/* $OpenBSD: main.c,v 1.54 2016/10/16 09:19:15 natano Exp $ */
/* $NetBSD: main.c,v 1.22 1997/02/02 21:12:33 thorpej Exp $ */
/*
@@ -58,9 +58,6 @@
int firstfile(const char *);
int yyparse(void);
-extern char *optarg;
-extern int optind;
-
static struct hashtab *mkopttab;
static struct nvlist **nextopt;
static struct nvlist **nextdefopt;