diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 08:21:41 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 08:21:41 +0000 |
commit | 4fa17c6f9afc7c76d0350d5d9e5996391aa18137 (patch) | |
tree | df25abab941a9c4156963af474b6ba2a96023025 /phantasia/io.c | |
parent | 8916e2056e90ba2c157dfd2b98fb48837d565646 (diff) | |
download | bsdgames-darwin-4fa17c6f9afc7c76d0350d5d9e5996391aa18137.tar.gz bsdgames-darwin-4fa17c6f9afc7c76d0350d5d9e5996391aa18137.tar.zst bsdgames-darwin-4fa17c6f9afc7c76d0350d5d9e5996391aa18137.zip |
sprinkle static
Diffstat (limited to 'phantasia/io.c')
-rw-r--r-- | phantasia/io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phantasia/io.c b/phantasia/io.c index 1f9d330f..239942ab 100644 --- a/phantasia/io.c +++ b/phantasia/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.12 2009/05/25 23:08:45 dholland Exp $ */ +/* $NetBSD: io.c,v 1.13 2009/08/12 08:21:41 dholland Exp $ */ /* * io.c - input/output routines for Phantasia @@ -9,6 +9,8 @@ #include <sys/cdefs.h> #include <curses.h> +static void catchalarm(int) __dead; + void getstring(char *cp, int mx) { @@ -234,7 +236,7 @@ getanswer(const char *choices, phbool def) return (*choices); } -void +static void catchalarm(int dummy __unused) { longjmp(Timeoenv, 1); |