summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-21 23:32:22 +0100
committerMichael Adam <obnox@samba.org>2009-12-22 00:14:59 +0100
commitc15434df2ba11832291febde42295068b84c06e3 (patch)
tree5bd3ef7430bddc451d4726ba44a395a12240bb4d /src
parentd3d31b434a2128e6006671d8d6041b14ff1c0efd (diff)
conf: make load_config_file static.
Michael
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 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);