From 189ca7370762dca088a13d08ccb035e364758abb Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Jan 2005 20:23:18 +0000 Subject: (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile --- settings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'settings.c') 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); -- cgit v1.2.3-54-g00ecf