From 8b1c71ee649fb41155da92995044e451c39ea700 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 07:28:40 +0000 Subject: sprinkle static --- hack/hack.read.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'hack/hack.read.c') diff --git a/hack/hack.read.c b/hack/hack.read.c index e224a437..3a232eed 100644 --- a/hack/hack.read.c +++ b/hack/hack.read.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.read.c,v 1.9 2009/06/07 18:30:39 dholland Exp $ */ +/* $NetBSD: hack.read.c,v 1.10 2009/08/12 07:28:41 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,13 +63,16 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.read.c,v 1.9 2009/06/07 18:30:39 dholland Exp $"); +__RCSID("$NetBSD: hack.read.c,v 1.10 2009/08/12 07:28:41 dholland Exp $"); #endif /* not lint */ #include #include "hack.h" #include "extern.h" +static int identify(struct obj *); +static int monstersym(int); + int doread(void) { @@ -527,7 +530,7 @@ doread(void) return (1); } -int +static int identify(struct obj *otmp) /* also called by newmail() */ { objects[otmp->otyp].oc_name_known = 1; @@ -624,7 +627,7 @@ do_it: } /* Test whether we may genocide all monsters with symbol ch */ -int +static int monstersym(int ch) /* arnold@ucsfcgl */ { const struct permonst *mp; -- cgit v1.2.3-56-ge451