From d59a3ca336bac3dac6ad8918ff6cb28fcbbba718 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 19 Apr 1999 03:59:02 +0000 Subject: Merge a bunch of cleanups from NetBSD. PR: 8083 Submitted by: Stephen J. Roznowski Obtained from: a whole slew of NetBSD PRs --- games/rogue/room.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'games/rogue/room.c') 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"))) { -- cgit v1.1