mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 08:25:45 -07:00
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.
This commit is contained in:
@ -632,7 +632,7 @@ static bool island_impossible(struct island *is, bool strict)
|
||||
|
||||
#define DEFAULT_PRESET 0
|
||||
|
||||
const struct game_params bridges_presets[] = {
|
||||
static const struct game_params bridges_presets[] = {
|
||||
{ 7, 7, 2, 30, 10, 1, 0 },
|
||||
{ 7, 7, 2, 30, 10, 1, 1 },
|
||||
{ 7, 7, 2, 30, 10, 1, 2 },
|
||||
|
Reference in New Issue
Block a user