From bc4062bb18aea0a207a6548f253569ad526be7b1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 14 Feb 2020 19:17:35 +0000 Subject: no need to declare "extern optarg" and "extern optind" when is included; patch from Jan Stary ; OK millert --- games/hunt/huntd/driver.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'games/hunt/huntd') diff --git a/games/hunt/huntd/driver.c b/games/hunt/huntd/driver.c index a854f92b88d..2efec81aaab 100644 --- a/games/hunt/huntd/driver.c +++ b/games/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: driver.c,v 1.29 2017/01/21 08:22:57 krw Exp $ */ +/* $OpenBSD: driver.c,v 1.30 2020/02/14 19:17:33 schwarze Exp $ */ /* $NetBSD: driver.c,v 1.5 1997/10/20 00:37:16 lukem Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -80,8 +80,6 @@ main(int ac, char **av) static fd_set read_fds; static FLAG first = TRUE; static FLAG server = FALSE; - extern int optind; - extern char *optarg; extern char *__progname; int c; static struct timeval linger = { 0, 0 }; -- cgit v1.2.3