From a1f58961268c7ff96687dafb1c1ee8a549a8a26c Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 28 May 2002 21:41:02 +0000 Subject: Make almost WARNS=5 compliant: ANSI'fy function declarations. Constify some globals and function paramters. Remove unsused arguments. Fix (rename) shadowed variables. --- games/mille/extern.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'games/mille/extern.c') diff --git a/games/mille/extern.c b/games/mille/extern.c index aae29d2de..7eda243 100644 --- a/games/mille/extern.c +++ b/games/mille/extern.c @@ -52,10 +52,11 @@ bool Debug, /* set if debugging code on */ Order, /* set if hand should be sorted */ Saved; /* set if game just saved */ -char *C_fmt = "%-18.18s", /* format for printing cards */ - *Fromfile = NULL, /* startup file for game */ - Initstr[100], /* initial string for error field */ - *_cn[NUM_CARDS] = { /* Card name buffer */ +char *Fromfile = NULL, /* startup file for game */ + Initstr[100]; /* initial string for error field */ + +const char *C_fmt = "%-18.18s", /* format for printing cards */ + *_cn[NUM_CARDS] = { /* Card name buffer */ "", "25", "50", @@ -76,8 +77,8 @@ char *C_fmt = "%-18.18s", /* format for printing cards */ "Puncture Proof", "Driving Ace", "Right of Way" - }, - **C_name = &_cn[1]; /* Card names */ + }, + **C_name = &_cn[1]; /* Card names */ int Card_no, /* Card number for current move */ End, /* End value for current hand */ -- cgit v1.1