diff options
author | christos <christos@NetBSD.org> | 2011-08-21 08:50:08 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2011-08-21 08:50:08 +0000 |
commit | 47fc54cf8d89647aa672981142e32ce0a4c12519 (patch) | |
tree | 238713cc0ee723194431d7bece59675dfd47e08a /mille | |
parent | 8a3b2a726a7b2c5991241b46ee20a77e5b93e820 (diff) | |
download | bsdgames-darwin-47fc54cf8d89647aa672981142e32ce0a4c12519.tar.gz bsdgames-darwin-47fc54cf8d89647aa672981142e32ce0a4c12519.tar.zst bsdgames-darwin-47fc54cf8d89647aa672981142e32ce0a4c12519.zip |
use const char [] for format.
Diffstat (limited to 'mille')
-rw-r--r-- | mille/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/print.c b/mille/print.c index 68e830d0..d711be54 100644 --- a/mille/print.c +++ b/mille/print.c @@ -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 @@ show_card(int y, int x, CARD c, CARD *lc) *lc = c; } -#define Score_fmt "%4d" +static const char Score_fmt[] = "%4d"; void prscore(bool for_real) |