summaryrefslogtreecommitdiffstats
path: root/rogue/room.c
diff options
context:
space:
mode:
Diffstat (limited to 'rogue/room.c')
-rw-r--r--rogue/room.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/rogue/room.c b/rogue/room.c
index 6494046d..0071489f 100644
--- a/rogue/room.c
+++ b/rogue/room.c
@@ -1,4 +1,4 @@
-/* $NetBSD: room.c,v 1.12 2008/01/14 03:50:02 dholland Exp $ */
+/* $NetBSD: room.c,v 1.13 2009/08/12 08:44:45 dholland Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)room.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: room.c,v 1.12 2008/01/14 03:50:02 dholland Exp $");
+__RCSID("$NetBSD: room.c,v 1.13 2009/08/12 08:44:45 dholland Exp $");
#endif
#endif /* not lint */
@@ -96,6 +96,12 @@ static const struct option {
}
};
+static boolean get_oth_room(short, short *, short *);
+static void opt_erase(int);
+static void opt_go(int);
+static void opt_show(int);
+static void visit_rooms(int);
+
void
light_up_room(int rn)
{
@@ -346,7 +352,7 @@ is_all_connected(void)
return(1);
}
-void
+static void
visit_rooms(int rn)
{
short i;
@@ -486,7 +492,7 @@ dr_course(object *monster, boolean entering, short row, short col)
}
}
-boolean
+static boolean
get_oth_room(short rn, short *row, short *col)
{
short d = -1;
@@ -612,7 +618,7 @@ CH:
}
}
-void
+static void
opt_show(int i)
{
const char *s;
@@ -628,7 +634,7 @@ opt_show(int i)
addstr(s);
}
-void
+static void
opt_erase(int i)
{
const struct option *opt = &options[i];
@@ -637,7 +643,7 @@ opt_erase(int i)
clrtoeol();
}
-void
+static void
opt_go(int i)
{
move(i, strlen(options[i].prompt));