Code

options: don't pass the "options" pointer around
[ncmpc.git] / src / options.h
index e7e9e8f4c358b03598d32a009d2500f24b6b41cb..0f9fa13c1105854a0436bfc5a5de6cfe783f0c68 100644 (file)
@@ -45,11 +45,9 @@ typedef struct {
        bool welcome_screen_list;
 } options_t;
 
-#ifndef NO_GLOBAL_OPTIONS
 extern options_t options;
-#endif
 
-options_t *options_init(void);
-options_t *options_parse(int argc, const char **argv);
+void options_init(void);
+void options_parse(int argc, const char **argv);
 
 #endif