diff options
author | dholland <dholland@NetBSD.org> | 2008-02-03 19:20:40 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-03 19:20:40 +0000 |
commit | bf91baeffb42cde8688e3e5735369c864ed29d91 (patch) | |
tree | c431f9c498c73de5ed5021009b69cecd9de27c02 /larn/main.c | |
parent | f1ec001029402476abce34e4130373b3c34a16c7 (diff) | |
download | bsdgames-darwin-bf91baeffb42cde8688e3e5735369c864ed29d91.tar.gz bsdgames-darwin-bf91baeffb42cde8688e3e5735369c864ed29d91.tar.zst bsdgames-darwin-bf91baeffb42cde8688e3e5735369c864ed29d91.zip |
Make a bunch of functions static. Merged from larn 12.2.
Diffstat (limited to 'larn/main.c')
-rw-r--r-- | larn/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 <sys/cdefs.h> #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 <sys/types.h> @@ -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; |