aboutsummaryrefslogtreecommitdiffstats
path: root/dnsmgr.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-23 18:05:13 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-23 18:05:13 +0000
commite005dbccdff80ceb02ce7cc8576852c80e520e56 (patch)
tree1e2b07a7aa75eadc062fcad4be36f3355b0610d4 /dnsmgr.c
parentcc6e91422e06fcf597f039d73159505355474ac7 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@29762 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'dnsmgr.c')
-rw-r--r--dnsmgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dnsmgr.c b/dnsmgr.c
index f1a9dbe59..de8324741 100644
--- a/dnsmgr.c
+++ b/dnsmgr.c
@@ -57,7 +57,7 @@ struct ast_dnsmgr_entry {
char name[1];
};
-static AST_LIST_HEAD(entry_list, ast_dnsmgr_entry) entry_list;
+static AST_LIST_HEAD_STATIC(entry_list, ast_dnsmgr_entry);
AST_MUTEX_DEFINE_STATIC(refresh_lock);
@@ -289,7 +289,6 @@ int dnsmgr_init(void)
ast_log(LOG_ERROR, "Unable to create schedule context.\n");
return -1;
}
- AST_LIST_HEAD_INIT(&entry_list);
ast_cli_register(&cli_reload);
ast_cli_register(&cli_status);
return do_reload(1);