Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/hunt/hunt be consistent about whether functions are st...



details:   https://anonhg.NetBSD.org/src/rev/fc2374f2ac22
branches:  trunk
changeset: 794995:fc2374f2ac22
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 29 22:15:13 2014 +0000

description:
be consistent about whether functions are static

diffstat:

 games/hunt/hunt/hunt.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 11dab0fccb3d -r fc2374f2ac22 games/hunt/hunt/hunt.c
--- a/games/hunt/hunt/hunt.c    Sat Mar 29 22:11:19 2014 +0000
+++ b/games/hunt/hunt/hunt.c    Sat Mar 29 22:15:13 2014 +0000
@@ -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 @@
        return vec_cnt;
 }
 
-SOCKET *
+static SOCKET *
 list_drivers(void)
 {
        int option;
@@ -772,7 +772,7 @@
  *     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 the game somewhat gracefully, restoring all current
  *     tty stats.
  */
-void
+static void
 leavex(int eval, const char *mesg)
 {
        fincurs();



Home | Main Index | Thread Index | Old Index