summaryrefslogtreecommitdiffstats
path: root/rogue/pack.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/pack.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/pack.c')
-rw-r--r--rogue/pack.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rogue/pack.c b/rogue/pack.c
index f822468f..4fe78089 100644
--- a/rogue/pack.c
+++ b/rogue/pack.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pack.c,v 1.5 1998/09/11 14:10:39 hubertf Exp $ */
+/* $NetBSD: pack.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[] = "@(#)pack.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pack.c,v 1.5 1998/09/11 14:10:39 hubertf Exp $");
+__RCSID("$NetBSD: pack.c,v 1.6 1998/11/10 13:01:32 hubertf Exp $");
#endif
#endif /* not lint */
@@ -59,7 +59,7 @@ __RCSID("$NetBSD: pack.c,v 1.5 1998/09/11 14:10:39 hubertf Exp $");
#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)
@@ -280,7 +280,7 @@ wait_for_ack()
short
pack_letter(prompt, mask)
- char *prompt;
+ const char *prompt;
unsigned short mask;
{
short ch;
@@ -479,7 +479,7 @@ call_it()
short
pack_count(new_obj)
- object *new_obj;
+ const object *new_obj;
{
object *obj;
short count = 0;
@@ -507,7 +507,7 @@ pack_count(new_obj)
boolean
mask_pack(pack, mask)
- object *pack;
+ const object *pack;
unsigned short mask;
{
while (pack->next_object) {