summaryrefslogtreecommitdiffstats
path: root/larn/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'larn/main.c')
-rw-r--r--larn/main.c8
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;