diff options
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index 6a13ab3..df511d4 100644 --- a/src/config.h +++ b/src/config.h @@ -26,7 +26,7 @@ typedef enum { typedef struct { const char *key; config_type_t type; - void *data; + const void *data; size_t offset; } config_entry_t; @@ -67,7 +67,7 @@ const char *config_type_to_string(config_type_t type); void config_init(config_t *config); config_status_t config_read_entry(const config_entry_t *entries, void *result, size_t *index, - const char *section, const char *label, const char *key, const char *value); + const char *key, const char *value); int config_read(config_t *config, FILE *file); |
