summaryrefslogtreecommitdiff
path: root/src/ecommon/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecommon/config.c')
-rw-r--r--src/ecommon/config.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ecommon/config.c b/src/ecommon/config.c
index 572510b..6bc7205 100644
--- a/src/ecommon/config.c
+++ b/src/ecommon/config.c
@@ -20,17 +20,20 @@ const char *default_map = NULL;
int default_x = 0;
int default_y = 0;
-void config_default_map(const char *val)
+void config_default_map(const char *key __attribute__ ((unused)),
+ const char *val)
{
mapindex->default_map = aStrdup(val);
}
-void config_default_x(const char *val)
+void config_default_x(const char *key __attribute__ ((unused)),
+ const char *val)
{
mapindex->default_x = atoi(val);
}
-void config_default_y(const char *val)
+void config_default_y(const char *key __attribute__ ((unused)),
+ const char *val)
{
mapindex->default_y = atoi(val);
}