summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-29 22:15:13 +0000
committerdholland <dholland@NetBSD.org>2014-03-29 22:15:13 +0000
commitaf406834092eeaa9d737fab22ccc9068bc1fe45b (patch)
treeccb655b0afb479fc2a2f1933e456eb04f81d4183 /hunt
parentb8e5b1fd45eaa69e4942c4855a9d3c05fd14e554 (diff)
downloadbsdgames-darwin-af406834092eeaa9d737fab22ccc9068bc1fe45b.tar.gz
bsdgames-darwin-af406834092eeaa9d737fab22ccc9068bc1fe45b.tar.zst
bsdgames-darwin-af406834092eeaa9d737fab22ccc9068bc1fe45b.zip
be consistent about whether functions are static
Diffstat (limited to 'hunt')
-rw-r--r--hunt/hunt/hunt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index 696c2d58..4cd9d7a5 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.46 2014/03/29 22:11:19 dholland Exp $ */
+/* $NetBSD: hunt.c,v 1.47 2014/03/29 22:15:13 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.46 2014/03/29 22:11:19 dholland Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.47 2014/03/29 22:15:13 dholland Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -380,7 +380,7 @@ broadcast_vec(int s /*socket*/, struct sockaddr_in **vector)
return vec_cnt;
}
-SOCKET *
+static SOCKET *
list_drivers(void)
{
int option;
@@ -772,7 +772,7 @@ fincurs(void)
* Leave the game somewhat gracefully, restoring all current
* tty stats, and print errno.
*/
-void
+static void
leave(int eval, const char *mesg)
{
int serrno = errno;
@@ -786,7 +786,7 @@ leave(int eval, const char *mesg)
* Leave the game somewhat gracefully, restoring all current
* tty stats.
*/
-void
+static void
leavex(int eval, const char *mesg)
{
fincurs();