-/* $NetBSD: pack.c,v 1.5 1998/09/11 14:10:39 hubertf Exp $ */
+/* $NetBSD: pack.c,v 1.7 2003/08/07 09:37:39 agc Exp $ */
/*
* Copyright (c) 1988, 1993
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
#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.7 2003/08/07 09:37:39 agc 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)
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) {