From c15434df2ba11832291febde42295068b84c06e3 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 21 Dec 2009 23:32:22 +0100 Subject: conf: make load_config_file static. Michael --- src/conf.c | 2 +- src/conf.h | 1 - 2 files changed, 1 insertion(+), 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); -- cgit v1.2.3