summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conf.c2
-rw-r--r--src/conf.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index e07b136..c129d5b 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -259,7 +259,7 @@ struct {
const unsigned int ndirectives = sizeof (directives) / sizeof (directives[0]);
-void free_config (struct config_s *conf)
+static void free_config (struct config_s *conf)
{
safefree (conf->config_file);
safefree (conf->logf_name);
diff --git a/src/conf.h b/src/conf.h
index 073cea2..97762e2 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -98,7 +98,6 @@ struct config_s {
hashmap_t anonymous_map;
};
-void free_config (struct config_s *conf);
int reload_config_file (const char *config_fname, struct config_s *conf,
struct config_s *defaults);