diff options
author | 2014-01-11 06:28:46 +0000 | |
---|---|---|
committer | 2014-01-11 06:28:46 +0000 | |
commit | 2778d96683e830d6c62d23013b1b48f949fc0d0d (patch) | |
tree | 21c7d152921171c29a9e243281d00729a43868b4 | |
parent | regen (diff) | |
download | wireguard-openbsd-2778d96683e830d6c62d23013b1b48f949fc0d0d.tar.xz wireguard-openbsd-2778d96683e830d6c62d23013b1b48f949fc0d0d.zip |
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; |