From bf91baeffb42cde8688e3e5735369c864ed29d91 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 3 Feb 2008 19:20:40 +0000 Subject: Make a bunch of functions static. Merged from larn 12.2. --- larn/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'larn/main.c') diff --git a/larn/main.c b/larn/main.c index 288a8f8b..14f1caef 100644 --- a/larn/main.c +++ b/larn/main.c @@ -1,9 +1,9 @@ -/* $NetBSD: main.c,v 1.21 2008/02/03 03:45:55 dholland Exp $ */ +/* $NetBSD: main.c,v 1.22 2008/02/03 19:20:42 dholland Exp $ */ /* main.c */ #include #ifndef lint -__RCSID("$NetBSD: main.c,v 1.21 2008/02/03 03:45:55 dholland Exp $"); +__RCSID("$NetBSD: main.c,v 1.22 2008/02/03 19:20:42 dholland Exp $"); #endif /* not lint */ #include @@ -15,6 +15,8 @@ __RCSID("$NetBSD: main.c,v 1.21 2008/02/03 03:45:55 dholland Exp $"); #include "header.h" #include "extern.h" +static int whatitem(const char *); + static char copyright[] = "\nLarn is copyrighted 1986 by Noah Morgan.\n"; int srcount = 0; /* line counter for showstr() */ int dropflag = 0; /* if 1 then don't lookforobject() next round */ @@ -1267,7 +1269,7 @@ quaff() /* function to ask what player wants to do */ -int +static int whatitem(const char *str) { int i; -- cgit v1.2.3-56-ge451