From 860b9b1cead825da2dfc109858f8f134f973f62d Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 9 Nov 2009 10:40:33 +0000 Subject: (svn r18028) -Codechange: unglobalise some functions --- src/settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 25f95645c..2ea624c33 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -796,7 +796,7 @@ void SetDifficultyLevel(int mode, DifficultySettings *gm_opt) * Checks the difficulty levels read from the configuration and * forces them to be correct when invalid. */ -void CheckDifficultyLevels() +static void CheckDifficultyLevels() { if (_settings_newgame.difficulty.diff_level != 3) { SetDifficultyLevel(_settings_newgame.difficulty.diff_level, &_settings_newgame.difficulty); @@ -1048,7 +1048,7 @@ static void HandleOldDiffCustom(bool savegame) * @param name pointer to the string defining name of the old news config * @param value pointer to the string defining value of the old news config * @returns true if conversion could have been made */ -bool ConvertOldNewsSetting(const char *name, const char *value) +static bool ConvertOldNewsSetting(const char *name, const char *value) { if (strcasecmp(name, "openclose") == 0) { /* openclose has been split in "open" and "close". -- cgit v1.2.3-54-g00ecf