From 7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 10 Nov 1998 13:01:31 +0000 Subject: constify, per PR 6148 --- rogue/pack.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rogue/pack.c') 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) { -- cgit v1.2.3-56-ge451