From db3b531e2cab765a00475054d2e9046c9d0437d3 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 13 Nov 2018 22:06:19 +0000 Subject: Add missing 'static' to game-internal declarations. Another thing I spotted while trawling the whole source base was that a couple of games had omitted 'static' on a lot of their internal functions. Checking with nm, there turned out to be quite a few more than I'd spotted by eye, so this should fix them all. Also added one missing 'const', on the lookup table nbits[] in Tracks. --- unequal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unequal.c') diff --git a/unequal.c b/unequal.c index be1808b..d5b2bb1 100644 --- a/unequal.c +++ b/unequal.c @@ -1009,7 +1009,7 @@ int maxtries; #else #define MAXTRIES 50 #endif -int gg_solved; +static int gg_solved; static int game_assemble(game_state *new, int *scratch, digit *latin, int difficulty) -- cgit v1.1