From d7f90a9758fac4eeef9becbd25c24c76b28001bf Mon Sep 17 00:00:00 2001 From: jsm Date: Sun, 24 Sep 2000 09:46:28 +0000 Subject: Make functions local to parse.c static. --- battlestar/parse.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'battlestar/parse.c') diff --git a/battlestar/parse.c b/battlestar/parse.c index 46a51a0b..75c54e23 100644 --- a/battlestar/parse.c +++ b/battlestar/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.9 2000/09/22 08:19:21 jsm Exp $ */ +/* $NetBSD: parse.c,v 1.10 2000/09/24 09:46:28 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,12 +38,16 @@ #if 0 static char sccsid[] = "@(#)parse.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: parse.c,v 1.9 2000/09/22 08:19:21 jsm Exp $"); +__RCSID("$NetBSD: parse.c,v 1.10 2000/09/24 09:46:28 jsm Exp $"); #endif #endif /* not lint */ #include "extern.h" +static int hash __P((const char *)); +static void install __P((struct wlist *)); +static struct wlist *lookup __P((const char *)); + void wordinit() { @@ -53,7 +57,7 @@ wordinit() install(w); } -int +static int hash(s) const char *s; { @@ -67,7 +71,7 @@ hash(s) return hashval; } -struct wlist * +static struct wlist * lookup(s) const char *s; { @@ -79,7 +83,7 @@ lookup(s) return NULL; } -void +static void install(wp) struct wlist *wp; { -- cgit v1.2.3-56-ge451