diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 08:04:05 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 08:04:05 +0000 |
commit | 8916e2056e90ba2c157dfd2b98fb48837d565646 (patch) | |
tree | f7b2cd85d32a6cdf7e2f0343e90fc0b8880d6d11 /mille/extern.c | |
parent | c10b9a8ce82ad7b4b287ccc5b5b576ab961aa488 (diff) | |
download | bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.gz bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.zst bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.zip |
sprinkle static
Diffstat (limited to 'mille/extern.c')
-rw-r--r-- | mille/extern.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mille/extern.c b/mille/extern.c index 71cb2e25..445bca70 100644 --- a/mille/extern.c +++ b/mille/extern.c @@ -1,4 +1,4 @@ -/* $NetBSD: extern.c,v 1.9 2009/05/25 23:34:50 dholland Exp $ */ +/* $NetBSD: extern.c,v 1.10 2009/08/12 08:07:27 dholland Exp $ */ /* * Copyright (c) 1982, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: extern.c,v 1.9 2009/05/25 23:34:50 dholland Exp $"); +__RCSID("$NetBSD: extern.c,v 1.10 2009/08/12 08:07:27 dholland Exp $"); #endif #endif /* not lint */ @@ -52,9 +52,9 @@ bool Debug, /* set if debugging code on */ Saved; /* set if game just saved */ char Initstr[INITSTR_SIZE]; /* initial string for error field */ -const char *C_fmt = "%-18.18s", /* format for printing cards */ - *Fromfile = NULL, /* startup file for game */ - *const _cn[NUM_CARDS] = { /* Card name buffer */ +const char *C_fmt = "%-18.18s"; /* format for printing cards */ +const char *Fromfile = NULL; /* startup file for game */ +static const char *const _cn[NUM_CARDS] = {/* Card name buffer */ "", "25", "50", @@ -75,8 +75,8 @@ const char *C_fmt = "%-18.18s", /* format for printing cards */ "Puncture Proof", "Driving Ace", "Right of Way" - }, - *const *C_name = &_cn[1]; /* Card names */ +}; +const char *const *C_name = &_cn[1]; /* Card names */ int Card_no, /* Card number for current move */ End, /* End value for current hand */ |