X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/13a26126791f719a62e09dc51634c290ba9fdf5f..4fe1a63ce6ffadff8b945cdf09ffd497b050f11d:/mille/end.c diff --git a/mille/end.c b/mille/end.c index a8fb8aa6..49b7bbe3 100644 --- a/mille/end.c +++ b/mille/end.c @@ -1,4 +1,4 @@ -/* $NetBSD: end.c,v 1.4 1995/03/24 05:01:30 cgd Exp $ */ +/* $NetBSD: end.c,v 1.6 1997/10/12 00:53:51 lukem Exp $ */ /* * Copyright (c) 1982, 1993 @@ -33,11 +33,12 @@ * SUCH DAMAGE. */ +#include #ifndef lint #if 0 static char sccsid[] = "@(#)end.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: end.c,v 1.4 1995/03/24 05:01:30 cgd Exp $"; +__RCSID("$NetBSD: end.c,v 1.6 1997/10/12 00:53:51 lukem Exp $"); #endif #endif /* not lint */ @@ -51,10 +52,11 @@ static char rcsid[] = "$NetBSD: end.c,v 1.4 1995/03/24 05:01:30 cgd Exp $"; * 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). */ +void finalscore(pp) -reg PLAY *pp; { - - reg int temp, tot, num; + PLAY *pp; +{ + int temp, tot, num; if (pp->was_finished == Finished) return; @@ -151,4 +153,3 @@ undoex() { } } # endif -