diff options
author | simonb <simonb@NetBSD.org> | 2000-04-14 05:58:01 +0000 |
---|---|---|
committer | simonb <simonb@NetBSD.org> | 2000-04-14 05:58:01 +0000 |
commit | 62855ffe327689a9bd3dfcb00322f27fed99d318 (patch) | |
tree | ea359cc12d01c6437ad713acbfb56ee88b08868e /hunt | |
parent | 96e645f9f4830ee11dd5aae09ac0c2775c925fa5 (diff) | |
download | bsdgames-darwin-62855ffe327689a9bd3dfcb00322f27fed99d318.tar.gz bsdgames-darwin-62855ffe327689a9bd3dfcb00322f27fed99d318.tar.zst bsdgames-darwin-62855ffe327689a9bd3dfcb00322f27fed99d318.zip |
Don't declare 'extern opt*' getopt variables.
Diffstat (limited to 'hunt')
-rw-r--r-- | hunt/hunt/hunt.c | 6 | ||||
-rw-r--r-- | hunt/huntd/driver.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c index 8726bdae..32d391fb 100644 --- a/hunt/hunt/hunt.c +++ b/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.c,v 1.10 2000/03/02 18:22:31 kleink Exp $ */ +/* $NetBSD: hunt.c,v 1.11 2000/04/14 05:58:03 simonb Exp $ */ /* * Hunt * Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold @@ -7,7 +7,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hunt.c,v 1.10 2000/03/02 18:22:31 kleink Exp $"); +__RCSID("$NetBSD: hunt.c,v 1.11 2000/04/14 05:58:03 simonb Exp $"); #endif /* not lint */ # include <sys/param.h> @@ -106,8 +106,6 @@ main(ac, av) char *term; int c; extern int Otto_mode; - extern int optind; - extern char *optarg; long enter_status; enter_status = env_init((long) Q_CLOAK); diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index 4b06af91..fdfdfe46 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: driver.c,v 1.5 1997/10/20 00:37:16 lukem Exp $ */ +/* $NetBSD: driver.c,v 1.6 2000/04/14 05:58:03 simonb Exp $ */ /* * Hunt * Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold @@ -7,7 +7,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: driver.c,v 1.5 1997/10/20 00:37:16 lukem Exp $"); +__RCSID("$NetBSD: driver.c,v 1.6 2000/04/14 05:58:03 simonb Exp $"); #endif /* not lint */ # include <sys/ioctl.h> @@ -72,8 +72,6 @@ main(ac, av, ep) static fd_set read_fds; static FLAG first = TRUE; static FLAG server = FALSE; - extern int optind; - extern char *optarg; int c; static struct timeval linger = { 90, 0 }; |