-/* $NetBSD: pack.c,v 1.4 1997/10/12 11:45:37 lukem Exp $ */
+/* $NetBSD: pack.c,v 1.6 1998/11/10 13:01:32 hubertf Exp $ */
/*
* Copyright (c) 1988, 1993
#if 0
static char sccsid[] = "@(#)pack.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pack.c,v 1.4 1997/10/12 11:45:37 lukem Exp $");
+__RCSID("$NetBSD: pack.c,v 1.6 1998/11/10 13:01:32 hubertf Exp $");
#endif
#endif /* not lint */
#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)
object *obj, *pack;
+ int condense;
{
object *op;
object *
pick_up(row, col, status)
short *status;
+ int row, col;
{
object *obj;
short
pack_letter(prompt, mask)
- char *prompt;
+ const char *prompt;
unsigned short mask;
{
short ch;
short
pack_count(new_obj)
- object *new_obj;
+ const object *new_obj;
{
object *obj;
short count = 0;
boolean
mask_pack(pack, mask)
- object *pack;
+ const object *pack;
unsigned short mask;
{
while (pack->next_object) {