diff options
Diffstat (limited to 'games/rogue/room.c')
-rw-r--r-- | games/rogue/room.c | 7 |
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"))) { |