From: Jonathan Neuschäfer Date: Thu, 29 Dec 2011 13:23:06 +0000 (+0100) Subject: conf.c: return void in read_configuration X-Git-Tag: release-0.20~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1eacdbd74bb349a70fd0e0a0f49beff0eb5658e5;p=ncmpc.git conf.c: return void in read_configuration --- diff --git a/src/conf.c b/src/conf.c index 4496abe..476c044 100644 --- a/src/conf.c +++ b/src/conf.c @@ -619,7 +619,7 @@ build_user_key_binding_filename(void) return g_build_filename(g_get_home_dir(), "." PACKAGE, "keys", NULL); } -int +void read_configuration(void) { char *filename = NULL; @@ -681,6 +681,4 @@ read_configuration(void) g_free(filename); filename = NULL; } - - return 0; } diff --git a/src/conf.h b/src/conf.h index 55bc21b..89f80fc 100644 --- a/src/conf.h +++ b/src/conf.h @@ -26,5 +26,5 @@ char *build_system_conf_filename(void); char *build_user_key_binding_filename(void); -int read_configuration(void); +void read_configuration(void);