diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 08:04:05 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 08:04:05 +0000 |
commit | 8916e2056e90ba2c157dfd2b98fb48837d565646 (patch) | |
tree | f7b2cd85d32a6cdf7e2f0343e90fc0b8880d6d11 /larn/movem.c | |
parent | c10b9a8ce82ad7b4b287ccc5b5b576ab961aa488 (diff) | |
download | bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.gz bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.zst bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.zip |
sprinkle static
Diffstat (limited to 'larn/movem.c')
-rw-r--r-- | larn/movem.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/larn/movem.c b/larn/movem.c index 99336abe..6625a187 100644 --- a/larn/movem.c +++ b/larn/movem.c @@ -1,4 +1,4 @@ -/* $NetBSD: movem.c,v 1.6 2008/01/28 05:38:54 dholland Exp $ */ +/* $NetBSD: movem.c,v 1.7 2009/08/12 08:04:05 dholland Exp $ */ /* * movem.c (move monster) Larn is copyrighted 1986 by Noah Morgan. @@ -12,12 +12,16 @@ */ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: movem.c,v 1.6 2008/01/28 05:38:54 dholland Exp $"); +__RCSID("$NetBSD: movem.c,v 1.7 2009/08/12 08:04:05 dholland Exp $"); #endif /* not lint */ #include "header.h" #include "extern.h" +static void movemt(int, int); +static void mmove(int, int, int, int); +static void movsphere(void); + /* * movemonst() Routine to move the monsters toward the player * @@ -127,7 +131,7 @@ movemonst() * Returns no value. */ static int tmpitem, xl, xh, yl, yh; -void +static void movemt(i, j) int i, j; { @@ -269,7 +273,7 @@ out: if (tmp < distance) /* did find connectivity */ * Enter with the from coordinates in (x,y) and the destination coordinates * in (xd,yd). */ -void +static void mmove(aa, bb, cc, dd) int aa, bb, cc, dd; { @@ -402,7 +406,7 @@ mmove(aa, bb, cc, dd) */ #define SPHMAX 20 /* maximum number of spheres movsphere can * handle */ -void +static void movsphere() { int x, y, dir, len; |