diff options
Diffstat (limited to 'src/echar')
-rw-r--r-- | src/echar/config.c | 12 | ||||
-rw-r--r-- | src/echar/config.h | 8 |
2 files changed, 12 insertions, 8 deletions
diff --git a/src/echar/config.c b/src/echar/config.c index 2512a37..96a33d1 100644 --- a/src/echar/config.c +++ b/src/echar/config.c @@ -20,22 +20,26 @@ int max_char_class = 0; int min_look = 0; int max_look = 0; -void config_min_char_class(const char *val) +void config_min_char_class(const char *key __attribute__ ((unused)), + const char *val) { min_char_class = atoi(val); } -void config_max_char_class(const char *val) +void config_max_char_class(const char *key __attribute__ ((unused)), + const char *val) { max_char_class = atoi(val); } -void config_min_look(const char *val) +void config_min_look(const char *key __attribute__ ((unused)), + const char *val) { min_look = atoi(val); } -void config_max_look(const char *val) +void config_max_look(const char *key __attribute__ ((unused)), + const char *val) { max_look = atoi(val); } diff --git a/src/echar/config.h b/src/echar/config.h index d8a4762..4e2f487 100644 --- a/src/echar/config.h +++ b/src/echar/config.h @@ -5,10 +5,10 @@ #define EVOL_CHAR_CONFIG void config_final(void); -void config_min_char_class(const char *val); -void config_max_char_class(const char *val); -void config_min_look(const char *val); -void config_max_look(const char *val); +void config_min_char_class(const char *key, const char *val); +void config_max_char_class(const char *key, const char *val); +void config_min_look(const char *key, const char *val); +void config_max_look(const char *key, const char *val); extern int min_char_class; extern int max_char_class; |