From 0259b47cba06cecb3f81f8e74fbedf162627403a Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 14 Feb 2020 19:17:34 +0000 Subject: no need to declare "extern optarg" and "extern optind" when is included; patch from Jan Stary ; OK millert --- src/regress/lib/libc/regex/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/regress/lib/libc/regex/main.c') diff --git a/src/regress/lib/libc/regex/main.c b/src/regress/lib/libc/regex/main.c index d6787d88fc..50c3f7589e 100644 --- a/src/regress/lib/libc/regex/main.c +++ b/src/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 @@ -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]; -- cgit v1.2.3-55-g6feb