summaryrefslogtreecommitdiffstats
path: root/games/rogue/room.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-04-19 03:59:02 +0000
committersteve <steve@FreeBSD.org>1999-04-19 03:59:02 +0000
commitd59a3ca336bac3dac6ad8918ff6cb28fcbbba718 (patch)
treec2b57d23128f242645f8e3e16274a587229383ec /games/rogue/room.c
parent390eb1b3d201760a5e8b76e2431c1f667648718f (diff)
downloadFreeBSD-src-d59a3ca336bac3dac6ad8918ff6cb28fcbbba718.zip
FreeBSD-src-d59a3ca336bac3dac6ad8918ff6cb28fcbbba718.tar.gz
Merge a bunch of cleanups from NetBSD.
PR: 8083 Submitted by: Stephen J. Roznowski <sjr@home.net> Obtained from: a whole slew of NetBSD PRs
Diffstat (limited to 'games/rogue/room.c')
-rw-r--r--games/rogue/room.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/rogue/room.c b/games/rogue/room.c
index 1412fd1..c07f5e1 100644
--- a/games/rogue/room.c
+++ b/games/rogue/room.c
@@ -62,7 +62,7 @@ extern char *nick_name, *fruit, *save_file, *press_space;
#define NOPTS 8
struct option {
- char *prompt;
+ const char *prompt;
boolean is_bool;
char **strval;
boolean *bval;
@@ -129,6 +129,7 @@ int rn;
}
light_passage(row, col)
+int row, col;
{
short i, j, i_end, j_end;
@@ -604,7 +605,7 @@ CH:
opt_show(i)
int i;
{
- char *s;
+ const char *s;
struct option *opt = &options[i];
opt_erase(i);
@@ -635,7 +636,7 @@ int i;
do_shell()
{
#ifdef UNIX
- char *sh;
+ const char *sh;
md_ignore_signals();
if (!(sh = md_getenv("SHELL"))) {
OpenPOWER on IntegriCloud