summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h
index af47326..c538531 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -18,7 +18,7 @@ typedef struct setting_desc_t {
typedef struct setting_desc_generator_t {
const char *key; /* key this generator applies to */
const char **value_ptr; /* where to put the value */
- setting_desc_t *(*func)(void *setup_context);
+ int (*func)(void *setup_context, setting_desc_t **res_desc);
} setting_desc_generator_t;
typedef struct settings_t settings_t;
© All Rights Reserved