summaryrefslogtreecommitdiff
path: root/src/echar/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/echar/config.c')
-rw-r--r--src/echar/config.c12
1 files changed, 8 insertions, 4 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);
}