summaryrefslogtreecommitdiff
path: root/games/rogue/level.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-01-21 19:12:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-01-21 19:12:14 +0000
commit7a0881cf3134f24b0e2e04e075841298f05a1618 (patch)
tree707b2b84fce0c275dd0d658cb4054a7d7acf2acf /games/rogue/level.c
parent015a4179321bbc59cf34543034f1e859d4815555 (diff)
make rogue const-correct, and fix one write-strings issue.
ok miod@
Diffstat (limited to 'games/rogue/level.c')
-rw-r--r--games/rogue/level.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/level.c b/games/rogue/level.c
index b13a3cdbb8b..a4fb3841778 100644
--- a/games/rogue/level.c
+++ b/games/rogue/level.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: level.c,v 1.6 2003/08/06 21:08:05 millert Exp $ */
+/* $OpenBSD: level.c,v 1.7 2004/01/21 19:12:13 espie Exp $ */
/* $NetBSD: level.c,v 1.3 1995/04/22 10:27:37 cgd Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)level.c 8.1 (Berkeley) 5/31/93";
#else
-static const char rcsid[] = "$OpenBSD: level.c,v 1.6 2003/08/06 21:08:05 millert Exp $";
+static const char rcsid[] = "$OpenBSD: level.c,v 1.7 2004/01/21 19:12:13 espie Exp $";
#endif
#endif /* not lint */
@@ -60,7 +60,7 @@ static const char rcsid[] = "$OpenBSD: level.c,v 1.6 2003/08/06 21:08:05 millert
short cur_level = 0;
short max_level = 1;
short cur_room;
-char *new_level_message = 0;
+const char *new_level_message = 0;
short party_room = NO_ROOM;
short r_de;