Module Name: src
Committed By: dholland
Date: Wed Aug 12 08:22:24 UTC 2009
Modified Files:
src/games/pig: pig.c
Log Message:
sprinkle static
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/games/pig/pig.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/pig/pig.c
diff -u src/games/pig/pig.c:1.13 src/games/pig/pig.c:1.14
--- src/games/pig/pig.c:1.13 Sun Jul 20 01:03:21 2008
+++ src/games/pig/pig.c Wed Aug 12 08:22:24 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pig.c,v 1.13 2008/07/20 01:03:21 lukem Exp $ */
+/* $NetBSD: pig.c,v 1.14 2009/08/12 08:22:24 dholland Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)pig.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: pig.c,v 1.13 2008/07/20 01:03:21 lukem Exp $");
+__RCSID("$NetBSD: pig.c,v 1.14 2009/08/12 08:22:24 dholland Exp $");
#endif
#endif /* not lint */
@@ -53,8 +53,8 @@
#include <unistd.h>
int main(int, char *[]);
-void pigout(char *, int);
-void usage(void) __dead;
+static void pigout(char *, int);
+static void usage(void) __dead;
int
main(argc, argv)
@@ -90,7 +90,7 @@
exit(0);
}
-void
+static void
pigout(buf, len)
char *buf;
int len;
@@ -131,7 +131,7 @@
(void)printf("%.*s%s", olen, buf + start, allupper ? "AY" : "ay");
}
-void
+static void
usage()
{
(void)fprintf(stderr, "usage: pig\n");