Code

conf.c: return void in read_configuration
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Thu, 29 Dec 2011 13:23:06 +0000 (14:23 +0100)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 4 Jan 2012 19:45:41 +0000 (20:45 +0100)
src/conf.c
src/conf.h

index 4496abe92a5ee03fe91ec0360e1968381777eb4d..476c044b650852bd651a77f594a1c2a3dd3f83cb 100644 (file)
@@ -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;
 }
index 55bc21b3262b28605bced675d489713792c480dc..89f80fc3b6b0d27d4484865675c22ea67dbe6416 100644 (file)
@@ -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);