summaryrefslogtreecommitdiffstats
path: root/snake/snscore/snscore.c
diff options
context:
space:
mode:
Diffstat (limited to 'snake/snscore/snscore.c')
-rw-r--r--snake/snscore/snscore.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/snake/snscore/snscore.c b/snake/snscore/snscore.c
index b09d5180..74c840db 100644
--- a/snake/snscore/snscore.c
+++ b/snake/snscore/snscore.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#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 @@ __RCSID("$NetBSD: snscore.c,v 1.17 2008/07/20 01:03:22 lukem Exp $");
#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);