summaryrefslogtreecommitdiffstats
path: root/mille/end.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-25 23:24:54 +0000
committerdholland <dholland@NetBSD.org>2009-05-25 23:24:54 +0000
commit1bb96be3372ee03925cdb9f4b5da4f5fa989c55e (patch)
tree8c771d8ae19fe69a371e8ffb0d0c289375996b27 /mille/end.c
parentb699392ee5e6c55d892a0ab1a639208a373d9bab (diff)
downloadbsdgames-darwin-1bb96be3372ee03925cdb9f4b5da4f5fa989c55e.tar.gz
bsdgames-darwin-1bb96be3372ee03925cdb9f4b5da4f5fa989c55e.tar.zst
bsdgames-darwin-1bb96be3372ee03925cdb9f4b5da4f5fa989c55e.zip
ANSIfy function declarations. Object file diffs checked.
Diffstat (limited to 'mille/end.c')
-rw-r--r--mille/end.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/mille/end.c b/mille/end.c
index 77afa9d4..e0981d06 100644
--- a/mille/end.c
+++ b/mille/end.c
@@ -1,4 +1,4 @@
-/* $NetBSD: end.c,v 1.7 2003/08/07 09:37:25 agc Exp $ */
+/* $NetBSD: end.c,v 1.8 2009/05/25 23:24:54 dholland Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)end.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: end.c,v 1.7 2003/08/07 09:37:25 agc Exp $");
+__RCSID("$NetBSD: end.c,v 1.8 2009/05/25 23:24:54 dholland Exp $");
#endif
#endif /* not lint */
@@ -49,8 +49,7 @@ __RCSID("$NetBSD: end.c,v 1.7 2003/08/07 09:37:25 agc Exp $");
* the end-of-games points to the user who deserves it (if any).
*/
void
-finalscore(pp)
- PLAY *pp;
+finalscore(PLAY *pp)
{
int temp, tot, num;
@@ -93,8 +92,9 @@ static int Last_tot[2]; /* last tot used for extrapolate */
* print out the score as if it was final, and add the totals for
* the end-of-games points to the user who deserves it (if any).
*/
-extrapolate(pp)
-reg PLAY *pp; {
+void
+extrapolate(PLAY *pp)
+{
reg int x, num, tot, count;
@@ -137,7 +137,9 @@ reg PLAY *pp; {
Last_tot[num] = tot;
}
-undoex() {
+void
+undoex(void)
+{
reg PLAY *pp;
reg int i;