diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-02-14 19:17:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-02-14 19:17:35 +0000 |
commit | bc4062bb18aea0a207a6548f253569ad526be7b1 (patch) | |
tree | 2b64c0ad313ddcd984dea2192d436399477a92ed /games/hunt/huntd | |
parent | 3306acf9cb9b6fe591d34780d838f8f88c7f09bb (diff) |
no need to declare "extern optarg" and "extern optind"
when <unistd.h> is included;
patch from Jan Stary <hans at stare dot cz>;
OK millert
Diffstat (limited to 'games/hunt/huntd')
-rw-r--r-- | games/hunt/huntd/driver.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 }; |