]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - larn/fortune.c
A revision of "The purpose of computing is insight, not numbers" by
[bsdgames-darwin.git] / larn / fortune.c
index 84cca6bd2d48902a5ab7f6d03f043ac2812c3fac..4eb7f67b42d6e5bdcba8f3f2ab7ccd835ea710e2 100644 (file)
@@ -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",