-/* $NetBSD: hack.worn.c,v 1.5 2003/04/02 18:36:42 jsm Exp $ */
+/* $NetBSD: hack.worn.c,v 1.7 2009/08/12 07:28:41 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.worn.c,v 1.5 2003/04/02 18:36:42 jsm Exp $");
+__RCSID("$NetBSD: hack.worn.c,v 1.7 2009/08/12 07:28:41 dholland Exp $");
#endif /* not lint */
#include "hack.h"
#include "extern.h"
-struct worn {
+static struct worn {
long w_mask;
struct obj **w_obj;
} worn[] = {
};
void
-setworn(obj, mask)
- struct obj *obj;
- long mask;
+setworn(struct obj *obj, long mask)
{
struct worn *wp;
struct obj *oobj;
/* called e.g. when obj is destroyed */
void
-setnotworn(obj)
- struct obj *obj;
+setnotworn(struct obj *obj)
{
struct worn *wp;