diff options
-rw-r--r-- | defaults.c | 8 | ||||
-rw-r--r-- | defaults.h | 14 |
2 files changed, 15 insertions, 7 deletions
@@ -3,6 +3,14 @@ #include <stddef.h> #include <stdio.h> +char* DEFAULT_GOV; +char* DEFAULT_FREQ; +char* DEFAULT_PROG; +char* DEFAULT_BAT_GOV; +char* DEFAULT_AC_GOV; +bool DEFAULT_SHOW_BATTERY; +char DEFAULT_THEME[1024]; + void defaults_init() { DEFAULT_GOV = NULL; @@ -1,12 +1,12 @@ #include <stdbool.h> -char* DEFAULT_GOV; -char* DEFAULT_FREQ; -char* DEFAULT_PROG; -char* DEFAULT_BAT_GOV; -char* DEFAULT_AC_GOV; -bool DEFAULT_SHOW_BATTERY; -char DEFAULT_THEME[1024]; +extern char* DEFAULT_GOV; +extern char* DEFAULT_FREQ; +extern char* DEFAULT_PROG; +extern char* DEFAULT_BAT_GOV; +extern char* DEFAULT_AC_GOV; +extern bool DEFAULT_SHOW_BATTERY; +extern char DEFAULT_THEME[1024]; void defaults_init(); |