diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 07:28:40 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 07:28:40 +0000 |
commit | 8b1c71ee649fb41155da92995044e451c39ea700 (patch) | |
tree | 24e74c8d453828689bfeac45e6162912f3c42d76 /hack/hack.engrave.c | |
parent | 31f496067cd42ce5ff71163efa5921ab6522e4aa (diff) | |
download | bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.tar.gz bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.tar.zst bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.zip |
sprinkle static
Diffstat (limited to 'hack/hack.engrave.c')
-rw-r--r-- | hack/hack.engrave.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/hack/hack.engrave.c b/hack/hack.engrave.c index c83d1433..33d7a3da 100644 --- a/hack/hack.engrave.c +++ b/hack/hack.engrave.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.engrave.c,v 1.8 2009/06/07 20:30:49 dholland Exp $ */ +/* $NetBSD: hack.engrave.c,v 1.9 2009/08/12 07:28:40 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.engrave.c,v 1.8 2009/06/07 20:30:49 dholland Exp $"); +__RCSID("$NetBSD: hack.engrave.c,v 1.9 2009/08/12 07:28:40 dholland Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -82,9 +82,13 @@ struct engr { #define DUST 1 #define ENGRAVE 2 #define BURN 3 -} *head_engr; +}; -struct engr * +static struct engr *head_engr; + +static void del_engr(struct engr *); + +static struct engr * engr_at(xchar x, xchar y) { struct engr *ep = head_engr; @@ -371,7 +375,7 @@ rest_engravings(int fd) } } -void +static void del_engr(struct engr *ep) { struct engr *ept; |