Module Name:    src
Committed By:   dholland
Date:           Wed Aug 12 05:21:28 UTC 2009

Modified Files:
        src/games/bcd: bcd.c

Log Message:
sprinkle static


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/games/bcd/bcd.c

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

Modified files:

Index: src/games/bcd/bcd.c
diff -u src/games/bcd/bcd.c:1.16 src/games/bcd/bcd.c:1.17
--- src/games/bcd/bcd.c:1.16	Sun Jul 26 03:02:38 2009
+++ src/games/bcd/bcd.c	Wed Aug 12 05:21:28 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: bcd.c,v 1.16 2009/07/26 03:02:38 dholland Exp $	*/
+/*	$NetBSD: bcd.c,v 1.17 2009/08/12 05:21:28 dholland Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)bcd.c	8.2 (Berkeley) 3/20/94";
 #else
-__RCSID("$NetBSD: bcd.c,v 1.16 2009/07/26 03:02:38 dholland Exp $");
+__RCSID("$NetBSD: bcd.c,v 1.17 2009/08/12 05:21:28 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -84,7 +84,7 @@
 #include <ctype.h>
 #include <unistd.h>
 
-const u_short holes[256] = {
+static const u_short holes[256] = {
     0x0,	 0x0,	  0x0,	   0x0,	    0x0,     0x0,     0x0,     0x0,
     0x0,	 0x0,	  0x0,	   0x0,	    0x0,     0x0,     0x0,     0x0,
     0x0,	 0x0,	  0x0,	   0x0,	    0x0,     0x0,     0x0,     0x0,
@@ -124,7 +124,7 @@
  */
 #define	bit(w,i)	((w)&(1<<(i)))
 
-void	printcard(char *);
+static void printcard(char *);
 
 int
 main(int argc, char **argv)
@@ -150,7 +150,7 @@
 
 #define	COLUMNS	48
 
-void
+static void
 printcard(char *str)
 {
 	static const char rowchars[] = "   123456789";

Reply via email to