summaryrefslogtreecommitdiffstats
path: root/bcd
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 05:17:57 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 05:17:57 +0000
commite0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 (patch)
tree750e4d7083e19c9557737d01e5226e39e8377e56 /bcd
parent653e85afa892eacbbdb9b34fd73115cc38be3911 (diff)
downloadbsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.gz
bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.zst
bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.zip
sprinkle static
Diffstat (limited to 'bcd')
-rw-r--r--bcd/bcd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bcd/bcd.c b/bcd/bcd.c
index c6298dba..9f5dce7a 100644
--- a/bcd/bcd.c
+++ b/bcd/bcd.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\
#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 @@ __RCSID("$NetBSD: bcd.c,v 1.16 2009/07/26 03:02:38 dholland Exp $");
#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 @@ const u_short holes[256] = {
*/
#define bit(w,i) ((w)&(1<<(i)))
-void printcard(char *);
+static void printcard(char *);
int
main(int argc, char **argv)
@@ -150,7 +150,7 @@ main(int argc, char **argv)
#define COLUMNS 48
-void
+static void
printcard(char *str)
{
static const char rowchars[] = " 123456789";