Module Name:    src
Committed By:   dholland
Date:           Wed Aug 12 08:48:56 UTC 2009

Modified Files:
        src/games/snake/snscore: snscore.c

Log Message:
sprinkle static


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/games/snake/snscore/snscore.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/snake/snscore/snscore.c
diff -u src/games/snake/snscore/snscore.c:1.17 src/games/snake/snscore/snscore.c:1.18
--- src/games/snake/snscore/snscore.c:1.17	Sun Jul 20 01:03:22 2008
+++ src/games/snake/snscore/snscore.c	Wed Aug 12 08:48:56 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: snscore.c,v 1.17 2008/07/20 01:03:22 lukem Exp $	*/
+/*	$NetBSD: snscore.c,v 1.18 2009/08/12 08:48:56 dholland Exp $	*/
 
 /*
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)snscore.c	8.1 (Berkeley) 7/19/93";
 #else
-__RCSID("$NetBSD: snscore.c,v 1.17 2008/07/20 01:03:22 lukem Exp $");
+__RCSID("$NetBSD: snscore.c,v 1.18 2009/08/12 08:48:56 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -52,14 +52,16 @@
 #include <unistd.h>
 #include "pathnames.h"
 
-const char *recfile = _PATH_RAWSCORES;
+static const char *recfile = _PATH_RAWSCORES;
 #define MAXPLAYERS 256
 
 struct	player	{
 	short	uids;
 	short	scores;
 	char	*name;
-} players[MAXPLAYERS], temp;
+};
+
+static struct player players[MAXPLAYERS], temp;
 
 int	main(void);
 

Reply via email to