diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 07:28:40 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 07:28:40 +0000 |
commit | 8b1c71ee649fb41155da92995044e451c39ea700 (patch) | |
tree | 24e74c8d453828689bfeac45e6162912f3c42d76 /hack/hack.timeout.c | |
parent | 31f496067cd42ce5ff71163efa5921ab6522e4aa (diff) | |
download | bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.tar.gz bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.tar.zst bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.zip |
sprinkle static
Diffstat (limited to 'hack/hack.timeout.c')
-rw-r--r-- | hack/hack.timeout.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hack/hack.timeout.c b/hack/hack.timeout.c index 49632f4f..381205c5 100644 --- a/hack/hack.timeout.c +++ b/hack/hack.timeout.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.timeout.c,v 1.7 2009/06/07 18:30:39 dholland Exp $ */ +/* $NetBSD: hack.timeout.c,v 1.8 2009/08/12 07:28:41 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,12 +63,14 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.timeout.c,v 1.7 2009/06/07 18:30:39 dholland Exp $"); +__RCSID("$NetBSD: hack.timeout.c,v 1.8 2009/08/12 07:28:41 dholland Exp $"); #endif /* not lint */ #include "hack.h" #include "extern.h" +static void stoned_dialogue(void); + void timeout(void) { @@ -112,7 +114,7 @@ timeout(void) } /* He is being petrified - dialogue by inmet!tower */ -const char *const stoned_texts[] = { +static const char *const stoned_texts[] = { "You are slowing down.",/* 5 */ "Your limbs are stiffening.", /* 4 */ "Your limbs have turned to stone.", /* 3 */ @@ -120,7 +122,7 @@ const char *const stoned_texts[] = { "You are a statue." /* 1 */ }; -void +static void stoned_dialogue(void) { long i = (Stoned & TIMEOUT); |