summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/playit.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 07:42:11 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 07:42:11 +0000
commitc10b9a8ce82ad7b4b287ccc5b5b576ab961aa488 (patch)
treeada5191dc0ecc9bd46bd68d6b73ea060c04570d4 /hunt/hunt/playit.c
parent8b1c71ee649fb41155da92995044e451c39ea700 (diff)
downloadbsdgames-darwin-c10b9a8ce82ad7b4b287ccc5b5b576ab961aa488.tar.gz
bsdgames-darwin-c10b9a8ce82ad7b4b287ccc5b5b576ab961aa488.tar.zst
bsdgames-darwin-c10b9a8ce82ad7b4b287ccc5b5b576ab961aa488.zip
sprinkle static and prune some dead code
Diffstat (limited to 'hunt/hunt/playit.c')
-rw-r--r--hunt/hunt/playit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c
index f7415d93..a4ef7f6d 100644
--- a/hunt/hunt/playit.c
+++ b/hunt/hunt/playit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: playit.c,v 1.14 2009/07/04 07:51:34 dholland Exp $ */
+/* $NetBSD: playit.c,v 1.15 2009/08/12 07:42:11 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: playit.c,v 1.14 2009/07/04 07:51:34 dholland Exp $");
+__RCSID("$NetBSD: playit.c,v 1.15 2009/08/12 07:42:11 dholland Exp $");
#endif /* not lint */
#include <sys/file.h>
@@ -77,6 +77,7 @@ static unsigned char ibuf[256], *iptr = ibuf;
static unsigned char getchr(void);
static void send_stuff(void);
+static void redraw_screen(void);
/*
* playit:
@@ -415,7 +416,7 @@ clear_the_screen(void)
refresh();
}
-void
+static void
redraw_screen(void)
{
clearok(stdscr, TRUE);