summaryrefslogtreecommitdiffstats
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 374b6e476c..1539d6d2e3 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -112,19 +112,20 @@ void settings_reset(void);
void settings_display(void);
bool settings_load_eq(char* file);
-void set_bool_options(char* string, bool* variable, char* yes_str, char* no_str );
+bool set_bool_options(char* string, bool* variable,
+ char* yes_str, char* no_str );
-void set_bool(char* string, bool* variable );
-void set_option(char* string, int* variable, char* options[],
+bool set_bool(char* string, bool* variable );
+bool set_option(char* string, int* variable, char* options[],
int numoptions, void (*function)(int));
-void set_int(char* string,
+bool set_int(char* string,
char* unit,
int* variable,
void (*function)(int),
int step,
int min,
int max );
-void set_time(char* string, int timedate[]);
+bool set_time(char* string, int timedate[]);
/* global settings */
extern struct user_settings global_settings;