From 6ea160ffffdde1dd2dd23857d2d8bda032b4048a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 21 Dec 2009 23:33:23 +0100 Subject: conf: make free_config static Michael --- src/conf.c | 2 +- src/conf.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3