summaryrefslogtreecommitdiffstats
path: root/hack/hack.worm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hack/hack.worm.c')
-rw-r--r--hack/hack.worm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/hack/hack.worm.c b/hack/hack.worm.c
index 287af018..2a606be1 100644
--- a/hack/hack.worm.c
+++ b/hack/hack.worm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.worm.c,v 1.7 2009/06/07 18:30:39 dholland Exp $ */
+/* $NetBSD: hack.worm.c,v 1.8 2009/08/12 07:28:41 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.worm.c,v 1.7 2009/06/07 18:30:39 dholland Exp $");
+__RCSID("$NetBSD: hack.worm.c,v 1.8 2009/08/12 07:28:41 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -76,6 +76,8 @@ struct wseg *wsegs[32]; /* linked list, tail first */
struct wseg *wheads[32];
long wgrowtime[32];
+static void remseg(struct wseg *);
+
int
getwn(struct monst *mtmp)
{
@@ -272,7 +274,7 @@ cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
panic("Cannot find worm segment");
}
-void
+static void
remseg(struct wseg *wtmp)
{
if (wtmp->wdispl)