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 | 189ca7370762dca088a13d08ccb035e364758abb (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /settings.c | |
parent | 7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff) | |
download | openttd-189ca7370762dca088a13d08ccb035e364758abb.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); |