diff options
author | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
commit | 94d5aeabb217cb08acf1225342c28bb0ac44f676 (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /settings.c | |
parent | 14451419c6c6b82ddb2204b43595fcf9acee91dc (diff) | |
download | openttd-94d5aeabb217cb08acf1225342c28bb0ac44f676.tar.xz |
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings.c b/settings.c index 10e68952f..f399433a5 100644 --- a/settings.c +++ b/settings.c @@ -104,7 +104,7 @@ struct IniFile { }; // allocate an inifile object -static IniFile *ini_alloc() +static IniFile *ini_alloc(void) { IniFile *ini; MemoryPool *pool; @@ -981,7 +981,7 @@ static void SaveList(IniFile *ini, const char *grpname, char **list, int len) } } -void LoadFromConfig() +void LoadFromConfig(void) { IniFile *ini = ini_load(_config_file); HandleSettingDescs(ini, load_setting_desc); @@ -991,7 +991,7 @@ void LoadFromConfig() ini_free(ini); } -void SaveToConfig() +void SaveToConfig(void) { IniFile *ini = ini_load(_config_file); HandleSettingDescs(ini, save_setting_desc); |