summaryrefslogtreecommitdiff
path: root/games/rogue/ring.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/ring.c
parent015a4179321bbc59cf34543034f1e859d4815555 (diff)
make rogue const-correct, and fix one write-strings issue.
ok miod@
Diffstat (limited to 'games/rogue/ring.c')
-rw-r--r--games/rogue/ring.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/rogue/ring.c b/games/rogue/ring.c
index bdb593d966c..0f8ea99f1a3 100644
--- a/games/rogue/ring.c
+++ b/games/rogue/ring.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ring.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */
+/* $OpenBSD: ring.c,v 1.6 2004/01/21 19:12:13 espie Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "@(#)ring.c 8.1 (Berkeley) 5/31/93";
#else
-static const char rcsid[] = "$OpenBSD: ring.c,v 1.5 2003/06/03 03:01:41 millert Exp $";
+static const char rcsid[] = "$OpenBSD: ring.c,v 1.6 2004/01/21 19:12:13 espie Exp $";
#endif
#endif /* not lint */
@@ -54,8 +54,8 @@ static const char rcsid[] = "$OpenBSD: ring.c,v 1.5 2003/06/03 03:01:41 millert
#include "rogue.h"
-char *left_or_right = "left or right hand?";
-char *no_ring = "there's no ring on that hand";
+const char *left_or_right = "left or right hand?";
+const char *no_ring = "there's no ring on that hand";
short stealthy;
short r_rings;
short add_strength;