summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-21 23:33:23 +0100
committerMichael Adam <obnox@samba.org>2009-12-22 00:14:59 +0100
commit6ea160ffffdde1dd2dd23857d2d8bda032b4048a (patch)
treeb60faa856d79b12c6fa4d6f6a39f8e92e45f3f4b /src
parentc15434df2ba11832291febde42295068b84c06e3 (diff)
downloadtinyproxy-6ea160ffffdde1dd2dd23857d2d8bda032b4048a.tar.gz
tinyproxy-6ea160ffffdde1dd2dd23857d2d8bda032b4048a.zip
conf: make free_config 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 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);