diff options
author | dholland <dholland@NetBSD.org> | 2014-03-29 21:38:54 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-29 21:38:54 +0000 |
commit | faebb3b149256611b59a75489d5d8d0b015494ef (patch) | |
tree | cf4939187e1bb8c4b93d18fe771da1a1b9a85e9c /hunt | |
parent | 42d8cf7dc7d21c36a9b19820b0e61bfa90a633a8 (diff) | |
download | bsdgames-darwin-faebb3b149256611b59a75489d5d8d0b015494ef.tar.gz bsdgames-darwin-faebb3b149256611b59a75489d5d8d0b015494ef.tar.zst bsdgames-darwin-faebb3b149256611b59a75489d5d8d0b015494ef.zip |
be consistent about whether functions are static
Diffstat (limited to 'hunt')
-rw-r--r-- | hunt/huntd/execute.c | 6 | ||||
-rw-r--r-- | hunt/huntd/shots.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/hunt/huntd/execute.c b/hunt/huntd/execute.c index 61a7d3e4..98ffe377 100644 --- a/hunt/huntd/execute.c +++ b/hunt/huntd/execute.c @@ -1,4 +1,4 @@ -/* $NetBSD: execute.c,v 1.11 2014/03/29 19:41:10 dholland Exp $ */ +/* $NetBSD: execute.c,v 1.12 2014/03/29 21:38:54 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: execute.c,v 1.11 2014/03/29 19:41:10 dholland Exp $"); +__RCSID("$NetBSD: execute.c,v 1.12 2014/03/29 21:38:54 dholland Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -550,7 +550,7 @@ scan(PLAYER *pp) * pickup: * check whether the object blew up or whether he picked it up */ -void +static void pickup(PLAYER *pp, int y, int x, int prob, int obj) { int req; diff --git a/hunt/huntd/shots.c b/hunt/huntd/shots.c index ada15f00..5f8c0129 100644 --- a/hunt/huntd/shots.c +++ b/hunt/huntd/shots.c @@ -1,4 +1,4 @@ -/* $NetBSD: shots.c,v 1.13 2014/03/29 19:41:11 dholland Exp $ */ +/* $NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 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: shots.c,v 1.13 2014/03/29 19:41:11 dholland Exp $"); +__RCSID("$NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $"); #endif /* not lint */ #include <err.h> @@ -791,7 +791,7 @@ chkslime(BULLET *bp, BULLET *next) * move the given slime shot speed times and add it back if * it hasn't fizzled yet */ -void +static void move_slime(BULLET *bp, int speed, BULLET *next) { int i, j, dirmask, count; @@ -1004,7 +1004,7 @@ zapshot(BULLET *blist, BULLET *obp) * explshot - * Make all shots at this location blow up */ -void +static void explshot(BULLET *blist, int y, int x) { BULLET *bp; |