diff options
| author | dholland <dholland@NetBSD.org> | 2009-07-04 01:58:57 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-07-04 01:58:57 +0000 |
| commit | 6f8367e238e03f94d7cad37b751809e6c86c5fd0 (patch) | |
| tree | 274353fee90bb01e76107c50c61d0b53f30db2c1 /hunt/huntd/expl.c | |
| parent | 76f63b88b5274fe80f728b7af04e5bb6df552882 (diff) | |
| download | bsdgames-darwin-6f8367e238e03f94d7cad37b751809e6c86c5fd0.tar.gz bsdgames-darwin-6f8367e238e03f94d7cad37b751809e6c86c5fd0.zip | |
ANSIfy function declarations.
Diffstat (limited to 'hunt/huntd/expl.c')
| -rw-r--r-- | hunt/huntd/expl.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/hunt/huntd/expl.c b/hunt/huntd/expl.c index ff2c7463..659d3507 100644 --- a/hunt/huntd/expl.c +++ b/hunt/huntd/expl.c @@ -1,4 +1,4 @@ -/* $NetBSD: expl.c,v 1.5 2009/07/04 01:01:18 dholland Exp $ */ +/* $NetBSD: expl.c,v 1.6 2009/07/04 02:37:20 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: expl.c,v 1.5 2009/07/04 01:01:18 dholland Exp $"); +__RCSID("$NetBSD: expl.c,v 1.6 2009/07/04 02:37:20 dholland Exp $"); #endif /* not lint */ # include <stdlib.h> @@ -46,9 +46,7 @@ static void remove_wall(int, int); * Show the explosions as they currently are */ void -showexpl(y, x, type) - int y, x; - char type; +showexpl(int y, int x, char type) { PLAYER *pp; EXPL *ep; @@ -106,7 +104,7 @@ showexpl(y, x, type) * top */ void -rollexpl() +rollexpl(void) { EXPL *ep; PLAYER *pp; @@ -152,8 +150,7 @@ static REGEN *rem_index = removed; * the location currently pointed at. */ static void -remove_wall(y, x) - int y, x; +remove_wall(int y, int x) { REGEN *r; # if defined(MONITOR) || defined(FLY) @@ -240,7 +237,7 @@ found: * Clear out the walls array */ void -clearwalls() +clearwalls(void) { REGEN *rp; |
