diff options
| author | christos <christos@NetBSD.org> | 2001-02-05 00:40:45 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2001-02-05 00:40:45 +0000 |
| commit | a1380bc8ea2c54611fc861ce62df33f7a225a3e7 (patch) | |
| tree | 1c1d74e7fda0e7a9ff8ffb1311c9e6999aab1b08 /hunt/hunt/otto.c | |
| parent | dfc4e173d46d915ee76e5e481a35c6ce6c385633 (diff) | |
| download | bsdgames-darwin-a1380bc8ea2c54611fc861ce62df33f7a225a3e7.tar.gz bsdgames-darwin-a1380bc8ea2c54611fc861ce62df33f7a225a3e7.zip | |
eliminate nested externs
Diffstat (limited to 'hunt/hunt/otto.c')
| -rw-r--r-- | hunt/hunt/otto.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hunt/hunt/otto.c b/hunt/hunt/otto.c index 581efaa3..80314c3e 100644 --- a/hunt/hunt/otto.c +++ b/hunt/hunt/otto.c @@ -1,4 +1,4 @@ -/* $NetBSD: otto.c,v 1.3 1999/04/18 03:29:01 simonb Exp $ */ +/* $NetBSD: otto.c,v 1.4 2001/02/05 00:40:45 christos Exp $ */ # ifdef OTTO /* * otto - a hunt otto-matic player @@ -12,7 +12,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: otto.c,v 1.3 1999/04/18 03:29:01 simonb Exp $"); +__RCSID("$NetBSD: otto.c,v 1.4 2001/02/05 00:40:45 christos Exp $"); #endif /* not lint */ # include <sys/time.h> @@ -119,6 +119,8 @@ STATIC SIGNAL_TYPE nothing __P((int)); STATIC int stop_look __P((struct item *, char, int, int)); STATIC void wander __P((void)); +extern int Otto_count; + STATIC SIGNAL_TYPE nothing(dummy) int dummy; @@ -131,7 +133,6 @@ otto(y, x, face) char face; { int i; - extern int Otto_count; int old_mask; # ifdef DEBUG |
