From d59a3ca336bac3dac6ad8918ff6cb28fcbbba718 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 19 Apr 1999 03:59:02 +0000 Subject: Merge a bunch of cleanups from NetBSD. PR: 8083 Submitted by: Stephen J. Roznowski Obtained from: a whole slew of NetBSD PRs --- games/rogue/pack.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'games/rogue/pack.c') diff --git a/games/rogue/pack.c b/games/rogue/pack.c index 3efcfa6..daa78b1 100644 --- a/games/rogue/pack.c +++ b/games/rogue/pack.c @@ -52,13 +52,14 @@ static char sccsid[] = "@(#)pack.c 8.1 (Berkeley) 5/31/93"; #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"; extern short levitate; object * add_to_pack(obj, pack, condense) object *obj, *pack; +int condense; { object *op; @@ -99,6 +100,7 @@ object *obj, *pack; object * pick_up(row, col, status) +int row, col; short *status; { object *obj; @@ -270,7 +272,7 @@ wait_for_ack() } pack_letter(prompt, mask) -char *prompt; +const char *prompt; unsigned short mask; { short ch; @@ -460,7 +462,7 @@ call_it() } pack_count(new_obj) -object *new_obj; +const object *new_obj; { object *obj; short count = 0; @@ -488,7 +490,7 @@ object *new_obj; boolean mask_pack(pack, mask) -object *pack; +const object *pack; unsigned short mask; { while (pack->next_object) { -- cgit v1.1