summaryrefslogtreecommitdiffstats
path: root/larn/fortune.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 08:04:05 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 08:04:05 +0000
commit8916e2056e90ba2c157dfd2b98fb48837d565646 (patch)
treef7b2cd85d32a6cdf7e2f0343e90fc0b8880d6d11 /larn/fortune.c
parentc10b9a8ce82ad7b4b287ccc5b5b576ab961aa488 (diff)
downloadbsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.gz
bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.zst
bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.zip
sprinkle static
Diffstat (limited to 'larn/fortune.c')
-rw-r--r--larn/fortune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/larn/fortune.c b/larn/fortune.c
index 84cca6bd..4eb7f67b 100644
--- a/larn/fortune.c
+++ b/larn/fortune.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fortune.c,v 1.6 2008/01/28 05:38:53 dholland Exp $ */
+/* $NetBSD: fortune.c,v 1.7 2009/08/12 08:04:05 dholland Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)fortune.c 5.5 (Berkeley) 6/10/91";
#else
-__RCSID("$NetBSD: fortune.c,v 1.6 2008/01/28 05:38:53 dholland Exp $");
+__RCSID("$NetBSD: fortune.c,v 1.7 2009/08/12 08:04:05 dholland Exp $");
#endif
#endif /* not lint */
@@ -48,7 +48,7 @@ __RCSID("$NetBSD: fortune.c,v 1.6 2008/01/28 05:38:53 dholland Exp $");
* function to return a random fortune from the fortune file
*/
-const char *flines[] = {
+static const char *flines[] = {
"gem value = gem * 2 ^ perfection",
"sitting down can have unexpected results",
"don't pry into the affairs of others",