X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/a0041450da452d421fa15f352d533a000c2e7921..4506ee6421a65ebf465cb3e1124f0ba604dbcb20:/rogue/room.c diff --git a/rogue/room.c b/rogue/room.c index 9aec0e74..df876f04 100644 --- a/rogue/room.c +++ b/rogue/room.c @@ -1,4 +1,4 @@ -/* $NetBSD: room.c,v 1.4 1997/10/12 11:45:56 lukem Exp $ */ +/* $NetBSD: room.c,v 1.6 1998/11/10 13:01:32 hubertf Exp $ */ /* * Copyright (c) 1988, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)room.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: room.c,v 1.4 1997/10/12 11:45:56 lukem Exp $"); +__RCSID("$NetBSD: room.c,v 1.6 1998/11/10 13:01:32 hubertf Exp $"); #endif #endif /* not lint */ @@ -65,7 +65,7 @@ boolean rooms_visited[MAXROOMS]; #define NOPTS 7 struct option { - char *prompt; + const char *prompt; boolean is_bool; char **strval; boolean *bval; @@ -131,6 +131,7 @@ light_up_room(rn) void light_passage(row, col) + int row, col; { short i, j, i_end, j_end; @@ -626,7 +627,7 @@ void opt_show(i) int i; { - char *s; + const char *s; struct option *opt = &options[i]; opt_erase(i); @@ -660,7 +661,7 @@ void do_shell() { #ifdef UNIX - char *sh; + const char *sh; md_ignore_signals(); if (!(sh = md_getenv("SHELL"))) {