diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 36bb92ae241403d61dc7a3e5a1696b615be61395 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/settings.cpp | |
parent | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff) | |
download | openttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index b73b31a29..69c5654ba 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -153,7 +153,7 @@ struct IniFile { }; // allocate an inifile object -static IniFile *ini_alloc(void) +static IniFile *ini_alloc() { IniFile *ini; SettingsMemoryPool *pool; @@ -1599,7 +1599,7 @@ static void HandleSettingDescs(IniFile *ini, SettingDescProc *proc, SettingDescP } /** Load the values from the configuration files */ -void LoadFromConfig(void) +void LoadFromConfig() { IniFile *ini = ini_load(_config_file); HandleSettingDescs(ini, ini_load_settings, ini_load_setting_list); @@ -1609,7 +1609,7 @@ void LoadFromConfig(void) } /** Save the values to the configuration file */ -void SaveToConfig(void) +void SaveToConfig() { IniFile *ini = ini_load(_config_file); HandleSettingDescs(ini, ini_save_settings, ini_save_setting_list); @@ -1794,7 +1794,7 @@ static inline void SaveSettingsGlobList(const SettingDescGlobVarList *sdg) SaveSettings((const SettingDesc*)sdg, NULL); } -static void Load_OPTS(void) +static void Load_OPTS() { /* Copy over default setting since some might not get loaded in * a networking environment. This ensures for example that the local @@ -1803,12 +1803,12 @@ static void Load_OPTS(void) LoadSettings(_gameopt_settings, &_opt); } -static void Save_OPTS(void) +static void Save_OPTS() { SaveSettings(_gameopt_settings, &_opt); } -static void Load_PATS(void) +static void Load_PATS() { /* Copy over default setting since some might not get loaded in * a networking environment. This ensures for example that the local @@ -1817,12 +1817,12 @@ static void Load_PATS(void) LoadSettings(_patch_settings, &_patches); } -static void Save_PATS(void) +static void Save_PATS() { SaveSettings(_patch_settings, &_patches); } -void CheckConfig(void) +void CheckConfig() { // fix up news_display_opt from old to new int i; @@ -1842,7 +1842,7 @@ void CheckConfig(void) } } -void UpdatePatches(void) +void UpdatePatches() { /* Since old(er) savegames don't have any patches saved, we initialise * them with the default values just as it was in the old days. |