diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-01-11 06:28:47 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-01-11 06:28:47 +0000 |
commit | a70defbfdb8ce18c3df1627a7b8cff87f733c6d0 (patch) | |
tree | b2ed837d517de3dfd21052d6af9664749ddab421 | |
parent | 6130f649a0544bca7356590aafb846a2c9e40b89 (diff) |
optarg/optind are declared in <unistd.h>, so kill the externs here
-rw-r--r-- | games/fortune/fortune/fortune.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index c919142c666..0fa6bcb890c 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fortune.c,v 1.30 2011/01/03 17:38:24 jasper Exp $ */ +/* $OpenBSD: fortune.c,v 1.31 2014/01/11 06:28:46 guenther Exp $ */ /* $NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $ */ /*- @@ -265,8 +265,6 @@ getargs(int argc, char *argv[]) # ifndef NO_REGEX char *pat = NULL; # endif /* NO_REGEX */ - extern char *optarg; - extern int optind; int ch; ignore_case = FALSE; |