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/robots | |
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/robots')
-rw-r--r-- | games/robots/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/games/robots/main.c b/games/robots/main.c index be6ef3151b7..76454474b76 100644 --- a/games/robots/main.c +++ b/games/robots/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.28 2019/06/28 13:32:52 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.29 2020/02/14 19:17:33 schwarze Exp $ */ /* $NetBSD: main.c,v 1.5 1995/04/22 10:08:54 cgd Exp $ */ /* @@ -56,7 +56,6 @@ main(int ac, char *av[]) int score_err = 0; /* hold errno from score file open */ int ch; int ret; - extern int optind; char *home; #ifdef FANCY char *sp; |