summaryrefslogtreecommitdiffstats
path: root/rogue/score.c
diff options
context:
space:
mode:
authortron <tron@NetBSD.org>2002-07-07 09:35:07 +0000
committertron <tron@NetBSD.org>2002-07-07 09:35:07 +0000
commitccc05ba3f3d43577640203ebe811128249f7f6e8 (patch)
treeace137b3ba5c2f75f5b419c29e5f9356f7322977 /rogue/score.c
parentfc6e23b8f2a9e7c87ec39c79245fe61d0b4d0bb8 (diff)
downloadbsdgames-darwin-ccc05ba3f3d43577640203ebe811128249f7f6e8.tar.gz
bsdgames-darwin-ccc05ba3f3d43577640203ebe811128249f7f6e8.tar.zst
bsdgames-darwin-ccc05ba3f3d43577640203ebe811128249f7f6e8.zip
Make "rogue" build with "WARNS=2". The necessary patches were supplied
by David A. Holland in PR bin/17498.
Diffstat (limited to 'rogue/score.c')
-rw-r--r--rogue/score.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rogue/score.c b/rogue/score.c
index e0f64592..73d34d9e 100644
--- a/rogue/score.c
+++ b/rogue/score.c
@@ -1,4 +1,4 @@
-/* $NetBSD: score.c,v 1.9 2001/08/09 13:02:49 wiz Exp $ */
+/* $NetBSD: score.c,v 1.10 2002/07/07 09:35:08 tron Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: score.c,v 1.9 2001/08/09 13:02:49 wiz Exp $");
+__RCSID("$NetBSD: score.c,v 1.10 2002/07/07 09:35:08 tron Exp $");
#endif
#endif /* not lint */
@@ -209,7 +209,7 @@ put_scores(monster, other)
char buf[128];
FILE *fp;
long s;
- boolean pause = score_only;
+ boolean dopause = score_only;
md_lock(1);
@@ -322,7 +322,7 @@ put_scores(monster, other)
refresh();
fclose(fp);
message("", 0);
- if (pause) {
+ if (dopause) {
message("", 0);
}
clean_up("");