conf: make free_config static
Michael
This commit is contained in:
parent
c15434df2b
commit
6ea160ffff
@ -259,7 +259,7 @@ struct {
|
|||||||
|
|
||||||
const unsigned int ndirectives = sizeof (directives) / sizeof (directives[0]);
|
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->config_file);
|
||||||
safefree (conf->logf_name);
|
safefree (conf->logf_name);
|
||||||
|
@ -98,7 +98,6 @@ struct config_s {
|
|||||||
hashmap_t anonymous_map;
|
hashmap_t anonymous_map;
|
||||||
};
|
};
|
||||||
|
|
||||||
void free_config (struct config_s *conf);
|
|
||||||
int reload_config_file (const char *config_fname, struct config_s *conf,
|
int reload_config_file (const char *config_fname, struct config_s *conf,
|
||||||
struct config_s *defaults);
|
struct config_s *defaults);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user