Module Name: src
Committed By: christos
Date: Sun Aug 21 08:50:08 UTC 2011
Modified Files:
src/games/mille: print.c
Log Message:
use const char [] for format.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/games/mille/print.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/mille/print.c
diff -u src/games/mille/print.c:1.17 src/games/mille/print.c:1.18
--- src/games/mille/print.c:1.17 Tue Aug 16 07:14:04 2011
+++ src/games/mille/print.c Sun Aug 21 04:50:08 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: print.c,v 1.17 2011/08/16 11:14:04 christos Exp $ */
+/* $NetBSD: print.c,v 1.18 2011/08/21 08:50:08 christos Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: print.c,v 1.17 2011/08/16 11:14:04 christos Exp $");
+__RCSID("$NetBSD: print.c,v 1.18 2011/08/21 08:50:08 christos Exp $");
#endif
#endif /* not lint */
@@ -115,7 +115,7 @@
*lc = c;
}
-#define Score_fmt "%4d"
+static const char Score_fmt[] = "%4d";
void
prscore(bool for_real)