summaryrefslogtreecommitdiffstats
path: root/battlestar/command1.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 05:17:57 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 05:17:57 +0000
commite0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 (patch)
tree750e4d7083e19c9557737d01e5226e39e8377e56 /battlestar/command1.c
parent653e85afa892eacbbdb9b34fd73115cc38be3911 (diff)
downloadbsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.gz
bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.zst
bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.zip
sprinkle static
Diffstat (limited to 'battlestar/command1.c')
-rw-r--r--battlestar/command1.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/battlestar/command1.c b/battlestar/command1.c
index 96235d95..70441531 100644
--- a/battlestar/command1.c
+++ b/battlestar/command1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: command1.c,v 1.3 2005/07/01 06:04:54 jmc Exp $ */
+/* $NetBSD: command1.c,v 1.4 2009/08/12 05:20:38 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,12 +34,14 @@
#if 0
static char sccsid[] = "@(#)com1.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: command1.c,v 1.3 2005/07/01 06:04:54 jmc Exp $");
+__RCSID("$NetBSD: command1.c,v 1.4 2009/08/12 05:20:38 dholland Exp $");
#endif
#endif /* not lint */
#include "extern.h"
+static void convert(int);
+
int
moveplayer(int thataway, int token)
{
@@ -70,7 +72,7 @@ moveplayer(int thataway, int token)
}
/* Converts day to night and vice versa. */
-void
+static void
convert(int tothis)
{
const struct objs *p;