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/help.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'larn/help.c') 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 #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 #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); -- cgit v1.2.3