summaryrefslogtreecommitdiffstats
path: root/sail/pl_7.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 08:54:54 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 08:54:54 +0000
commitdf2ff83b8d06bdf49e72c595985c77d5b4ae7582 (patch)
tree0deb02747d183e6641e3e9a4f7376182377495f6 /sail/pl_7.c
parent39a1066cab493ece48c6e692513d1311b7e27c44 (diff)
downloadbsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.tar.gz
bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.tar.zst
bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.zip
sprinkle static
Diffstat (limited to 'sail/pl_7.c')
-rw-r--r--sail/pl_7.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sail/pl_7.c b/sail/pl_7.c
index 001d4b09..7cefcaf5 100644
--- a/sail/pl_7.c
+++ b/sail/pl_7.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_7.c,v 1.37 2009/03/15 22:19:23 dholland Exp $ */
+/* $NetBSD: pl_7.c,v 1.38 2009/08/12 09:05:08 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_7.c,v 1.37 2009/03/15 22:19:23 dholland Exp $");
+__RCSID("$NetBSD: pl_7.c,v 1.38 2009/08/12 09:05:08 dholland Exp $");
#endif
#endif /* not lint */
@@ -86,7 +86,7 @@ static bool dbp[3];
int done_curses;
int loaded, fired, changed, repaired;
int dont_adjust;
-int viewrow, viewcol;
+static int viewrow, viewcol;
char movebuf[sizeof SHIP(0)->file->movebuf];
int player;
struct ship *ms; /* memorial structure, &cc->ship[player] */
@@ -291,7 +291,7 @@ Msg(const char *fmt, ...)
scrollarea_add(buf);
}
-void
+static void
prompt(const char *p, struct ship *ship)
{
static char buf[BUFSIZ];