summaryrefslogtreecommitdiff
path: root/games/rogue/pack.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/pack.c
parent015a4179321bbc59cf34543034f1e859d4815555 (diff)
make rogue const-correct, and fix one write-strings issue.
ok miod@
Diffstat (limited to 'games/rogue/pack.c')
-rw-r--r--games/rogue/pack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/rogue/pack.c b/games/rogue/pack.c
index 0d2bcdc4727..56c9314bab4 100644
--- a/games/rogue/pack.c
+++ b/games/rogue/pack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pack.c,v 1.9 2003/06/03 03:01:41 millert Exp $ */
+/* $OpenBSD: pack.c,v 1.10 2004/01/21 19:12:13 espie Exp $ */
/* $NetBSD: pack.c,v 1.3 1995/04/22 10:27:54 cgd Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)pack.c 8.1 (Berkeley) 5/31/93";
#else
-static const char rcsid[] = "$OpenBSD: pack.c,v 1.9 2003/06/03 03:01:41 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pack.c,v 1.10 2004/01/21 19:12:13 espie Exp $";
#endif
#endif /* not lint */
@@ -55,7 +55,7 @@ static const char rcsid[] = "$OpenBSD: pack.c,v 1.9 2003/06/03 03:01:41 millert
#include "rogue.h"
-char *curse_message = "you can't, it appears to be cursed";
+const char *curse_message = "you can't, it appears to be cursed";
object *
add_to_pack(obj, pack, condense)
@@ -277,7 +277,7 @@ wait_for_ack()
short
pack_letter(prompt, mask)
- char *prompt;
+ const char *prompt;
unsigned short mask;
{
short ch;