diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libc/db/dbtest.c | 4 | ||||
-rw-r--r-- | regress/lib/libc/getaddrinfo/gaitest.c | 4 | ||||
-rw-r--r-- | regress/lib/libc/regex/main.c | 4 | ||||
-rw-r--r-- | regress/lib/libutil/fmt_scaled/fmt_test.c | 4 |
4 files changed, 4 insertions, 12 deletions
diff --git a/regress/lib/libc/db/dbtest.c b/regress/lib/libc/db/dbtest.c index 6a79e4c1875..57bb900f7a6 100644 --- a/regress/lib/libc/db/dbtest.c +++ b/regress/lib/libc/db/dbtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dbtest.c,v 1.16 2017/07/27 15:08:37 bluhm Exp $ */ +/* $OpenBSD: dbtest.c,v 1.17 2020/02/14 19:17:33 schwarze Exp $ */ /* $NetBSD: dbtest.c,v 1.8 1996/05/03 21:57:48 cgd Exp $ */ /*- @@ -76,8 +76,6 @@ int XXlineno; /* Fast breakpoint for gdb. */ int main(int argc, char *argv[]) { - extern int optind; - extern char *optarg; enum S command, state; DB *dbp; DBT data, key, keydata; diff --git a/regress/lib/libc/getaddrinfo/gaitest.c b/regress/lib/libc/getaddrinfo/gaitest.c index 12a44984599..2508c05e020 100644 --- a/regress/lib/libc/getaddrinfo/gaitest.c +++ b/regress/lib/libc/getaddrinfo/gaitest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gaitest.c,v 1.6 2009/06/09 18:15:08 phessler Exp $ */ +/* $OpenBSD: gaitest.c,v 1.7 2020/02/14 19:17:33 schwarze Exp $ */ /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ /* @@ -119,8 +119,6 @@ main(argc, argv) struct addrinfo *res; int error, i; char *p, *q; - extern int optind; - extern char *optarg; int c; char nbuf[10]; diff --git a/regress/lib/libc/regex/main.c b/regress/lib/libc/regex/main.c index d6787d88fc4..50c3f7589e0 100644 --- a/regress/lib/libc/regex/main.c +++ b/regress/lib/libc/regex/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.10 2016/07/13 06:17:11 guenther Exp $ */ +/* $OpenBSD: main.c,v 1.11 2020/02/14 19:17:34 schwarze Exp $ */ /* $NetBSD: main.c,v 1.2 1995/04/20 22:39:51 cgd Exp $ */ #include <stdio.h> @@ -41,8 +41,6 @@ main(int argc, char *argv[]) int c; int errflg = 0; register int i; - extern int optind; - extern char *optarg; progname = argv[0]; diff --git a/regress/lib/libutil/fmt_scaled/fmt_test.c b/regress/lib/libutil/fmt_scaled/fmt_test.c index 947d403440c..fd9d1c81bfb 100644 --- a/regress/lib/libutil/fmt_scaled/fmt_test.c +++ b/regress/lib/libutil/fmt_scaled/fmt_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fmt_test.c,v 1.15 2017/03/16 02:42:31 dtucker Exp $ */ +/* $OpenBSD: fmt_test.c,v 1.16 2020/02/14 19:17:34 schwarze Exp $ */ /* * Combined tests for fmt_scaled and scan_scaled. @@ -36,8 +36,6 @@ __dead static void usage(int stat) int main(int argc, char **argv) { - extern char *optarg; - extern int optind; int i, ch; while ((ch = getopt(argc, argv, "hv")) != -1) { |