From 4fa17c6f9afc7c76d0350d5d9e5996391aa18137 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 08:21:41 +0000 Subject: sprinkle static --- phantasia/io.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'phantasia/io.c') 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 #include +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); -- cgit v1.2.3-56-ge451