diff options
author | steve <steve@FreeBSD.org> | 1999-04-19 03:59:02 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-04-19 03:59:02 +0000 |
commit | d59a3ca336bac3dac6ad8918ff6cb28fcbbba718 (patch) | |
tree | c2b57d23128f242645f8e3e16274a587229383ec /games/rogue/pack.c | |
parent | 390eb1b3d201760a5e8b76e2431c1f667648718f (diff) | |
download | FreeBSD-src-d59a3ca336bac3dac6ad8918ff6cb28fcbbba718.zip FreeBSD-src-d59a3ca336bac3dac6ad8918ff6cb28fcbbba718.tar.gz |
Merge a bunch of cleanups from NetBSD.
PR: 8083
Submitted by: Stephen J. Roznowski <sjr@home.net>
Obtained from: a whole slew of NetBSD PRs
Diffstat (limited to 'games/rogue/pack.c')
-rw-r--r-- | games/rogue/pack.c | 10 |
1 files changed, 6 insertions, 4 deletions
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) { |