Module Name:    src
Committed By:   dholland
Date:           Wed Aug 12 05:20:38 UTC 2009

Modified Files:
        src/games/battlestar: command1.c command6.c extern.h

Log Message:
sprinkle static


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/games/battlestar/command1.c
cvs rdiff -u -r1.4 -r1.5 src/games/battlestar/command6.c
cvs rdiff -u -r1.31 -r1.32 src/games/battlestar/extern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/battlestar/command1.c
diff -u src/games/battlestar/command1.c:1.3 src/games/battlestar/command1.c:1.4
--- src/games/battlestar/command1.c:1.3	Fri Jul  1 06:04:54 2005
+++ src/games/battlestar/command1.c	Wed Aug 12 05:20:38 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: command1.c,v 1.3 2005/07/01 06:04:54 jmc Exp $	*/
+/*	$NetBSD: command1.c,v 1.4 2009/08/12 05:20:38 dholland Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993
@@ -34,12 +34,14 @@
 #if 0
 static char sccsid[] = "@(#)com1.c	8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: command1.c,v 1.3 2005/07/01 06:04:54 jmc Exp $");
+__RCSID("$NetBSD: command1.c,v 1.4 2009/08/12 05:20:38 dholland Exp $");
 #endif
 #endif				/* not lint */
 
 #include "extern.h"
 
+static void convert(int);
+
 int
 moveplayer(int thataway, int token)
 {
@@ -70,7 +72,7 @@
 }
 
 /* Converts day to night and vice versa. 	    */
-void
+static void
 convert(int tothis)
 {
 	const struct objs *p;

Index: src/games/battlestar/command6.c
diff -u src/games/battlestar/command6.c:1.4 src/games/battlestar/command6.c:1.5
--- src/games/battlestar/command6.c:1.4	Sat Dec 15 19:44:39 2007
+++ src/games/battlestar/command6.c	Wed Aug 12 05:20:38 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: command6.c,v 1.4 2007/12/15 19:44:39 perry Exp $	*/
+/*	$NetBSD: command6.c,v 1.5 2009/08/12 05:20:38 dholland Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993
@@ -34,13 +34,15 @@
 #if 0
 static char sccsid[] = "@(#)com6.c	8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: command6.c,v 1.4 2007/12/15 19:44:39 perry Exp $");
+__RCSID("$NetBSD: command6.c,v 1.5 2009/08/12 05:20:38 dholland Exp $");
 #endif
 #endif				/* not lint */
 
 #include "extern.h"
 #include "pathnames.h"
 
+static void post(int);
+
 int
 launch(void)
 {
@@ -114,7 +116,7 @@
 		exit(1);
 }
 
-void
+static void
 post(int ch)
 {
 	time_t tv;

Index: src/games/battlestar/extern.h
diff -u src/games/battlestar/extern.h:1.31 src/games/battlestar/extern.h:1.32
--- src/games/battlestar/extern.h:1.31	Fri Jul  1 06:04:54 2005
+++ src/games/battlestar/extern.h	Wed Aug 12 05:20:38 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: extern.h,v 1.31 2005/07/01 06:04:54 jmc Exp $ */
+/*	$NetBSD: extern.h,v 1.32 2009/08/12 05:20:38 dholland Exp $ */
 
 /*
  * Copyright (c) 1983, 1993
@@ -331,7 +331,6 @@
 void bury(void);
 int card(const char *, int);
 void chime(void);
-void convert(int);
 void crash(void);
 int cypher(void);
 void die(void) __attribute__((__noreturn__));
@@ -362,7 +361,6 @@
 void newway(int);
 void open_score_file(void);
 void parse(void);
-void post(int);
 void printobjs(void);
 int put(void);
 int puton(void);

Reply via email to