summaryrefslogtreecommitdiffstats
path: root/rogue/use.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-11-10 13:01:31 +0000
committerhubertf <hubertf@NetBSD.org>1998-11-10 13:01:31 +0000
commit7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0 (patch)
tree08c3c9c428446f82830e48fe1f270f237f757c65 /rogue/use.c
parent05f879242cedc51b52d70804261f502a94ac5893 (diff)
downloadbsdgames-darwin-7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0.tar.gz
bsdgames-darwin-7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0.tar.zst
bsdgames-darwin-7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0.zip
constify, per PR 6148
Diffstat (limited to 'rogue/use.c')
-rw-r--r--rogue/use.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rogue/use.c b/rogue/use.c
index 06319e65..2b71d4f6 100644
--- a/rogue/use.c
+++ b/rogue/use.c
@@ -1,4 +1,4 @@
-/* $NetBSD: use.c,v 1.4 1997/10/12 11:46:11 lukem Exp $ */
+/* $NetBSD: use.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)use.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: use.c,v 1.4 1997/10/12 11:46:11 lukem Exp $");
+__RCSID("$NetBSD: use.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $");
#endif
#endif /* not lint */
@@ -68,7 +68,7 @@ boolean see_invisible = 0;
short extra_hp = 0;
boolean detect_monster = 0;
boolean con_mon = 0;
-char *strange_feeling = "you have a strange feeling for a moment, then it passes";
+const char *strange_feeling = "you have a strange feeling for a moment, then it passes";
void
quaff()
@@ -594,7 +594,7 @@ go_blind()
mvaddch(rogue.row, rogue.col, rogue.fchar);
}
-char *
+const char *
get_ench_color()
{
if (halluc) {