summaryrefslogtreecommitdiffstats
path: root/larn/help.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-03 19:20:40 +0000
committerdholland <dholland@NetBSD.org>2008-02-03 19:20:40 +0000
commitbf91baeffb42cde8688e3e5735369c864ed29d91 (patch)
treec431f9c498c73de5ed5021009b69cecd9de27c02 /larn/help.c
parentf1ec001029402476abce34e4130373b3c34a16c7 (diff)
downloadbsdgames-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/help.c')
-rw-r--r--larn/help.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/larn/help.c b/larn/help.c
index 42c87e6d..47350d10 100644
--- a/larn/help.c
+++ b/larn/help.c
@@ -1,15 +1,18 @@
-/* $NetBSD: help.c,v 1.5 2001/02/05 00:57:33 christos Exp $ */
+/* $NetBSD: help.c,v 1.6 2008/02/03 19:20:41 dholland Exp $ */
/* help.c Larn is copyrighted 1986 by Noah Morgan. */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: help.c,v 1.5 2001/02/05 00:57:33 christos Exp $");
+__RCSID("$NetBSD: help.c,v 1.6 2008/02/03 19:20:41 dholland Exp $");
#endif /* not lint */
#include <unistd.h>
#include "header.h"
#include "extern.h"
+
+static int openhelp(void);
+
/*
* help function to display the help info
*
@@ -109,8 +112,8 @@ retcont()
/*
* routine to open the help file and return the first character - '0'
*/
-int
-openhelp()
+static int
+openhelp(void)
{
if (lopen(helpfile) < 0) {
lprintf("Can't open help file \"%s\" ", helpfile);