summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 c9a2e14..e07b136 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -363,7 +363,7 @@ static int config_parse (struct config_s *conf, FILE * f)
/**
* Read the settings from a config file.
*/
-int load_config_file (const char *config_fname, struct config_s *conf)
+static int load_config_file (const char *config_fname, struct config_s *conf)
{
FILE *config_file;
diff --git a/src/conf.h b/src/conf.h
index 257d6e0..073cea2 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -98,7 +98,6 @@ struct config_s {
hashmap_t anonymous_map;
};
-extern int load_config_file (const char *config_fname, struct config_s *conf);
void free_config (struct config_s *conf);
int reload_config_file (const char *config_fname, struct config_s *conf,
struct config_s *defaults);