summaryrefslogtreecommitdiffstats
path: root/snake
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-11 14:25:22 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-11 14:25:22 +0000
commite6925e5d1e32fafaf8f616cf5814c7656667e935 (patch)
tree0f6405f317f6825ed9df346c51840e5bc9759803 /snake
parente9213db5e7a75fc8cd5480100e6bccf2bec46001 (diff)
downloadbsdgames-darwin-e6925e5d1e32fafaf8f616cf5814c7656667e935.tar.gz
bsdgames-darwin-e6925e5d1e32fafaf8f616cf5814c7656667e935.tar.zst
bsdgames-darwin-e6925e5d1e32fafaf8f616cf5814c7656667e935.zip
fix main() prototype, per PR#5867
Diffstat (limited to 'snake')
-rw-r--r--snake/snscore/snscore.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/snake/snscore/snscore.c b/snake/snscore/snscore.c
index 71b9e050..48d99f78 100644
--- a/snake/snscore/snscore.c
+++ b/snake/snscore/snscore.c
@@ -1,4 +1,4 @@
-/* $NetBSD: snscore.c,v 1.7 1998/07/27 01:12:36 mycroft Exp $ */
+/* $NetBSD: snscore.c,v 1.8 1998/09/11 14:25:22 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)snscore.c 8.1 (Berkeley) 7/19/93";
#else
-__RCSID("$NetBSD: snscore.c,v 1.7 1998/07/27 01:12:36 mycroft Exp $");
+__RCSID("$NetBSD: snscore.c,v 1.8 1998/09/11 14:25:22 hubertf Exp $");
#endif
#endif /* not lint */
@@ -64,12 +64,10 @@ struct player {
char *name;
} players[MAXPLAYERS], temp;
-int main __P((int, char **));
+int main __P((void));
int
-main(argc, argv)
- int argc;
- char *argv[];
+main()
{
short uid, score;
FILE *fd;