From 0765f065ca6d21edd32cd03540c4a62182ee4062 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 2 May 2006 04:40:09 +0000 Subject: [PATCH] staticize the list heads from my recent conversions to list macros git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24139 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 4 ++-- pbx/pbx_dundi.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pbx.c b/pbx.c index 8df40eb0ef..e7a7263b49 100644 --- a/pbx.c +++ b/pbx.c @@ -244,7 +244,7 @@ static int autofallthrough = 0; AST_MUTEX_DEFINE_STATIC(maxcalllock); static int countcalls = 0; -AST_LIST_HEAD_STATIC(acf_root, ast_custom_function); +static AST_LIST_HEAD_STATIC(acf_root, ast_custom_function); /*! \brief Declaration of builtin applications */ static struct pbx_builtin { @@ -464,7 +464,7 @@ static struct pbx_builtin { static struct ast_context *contexts = NULL; AST_MUTEX_DEFINE_STATIC(conlock); /*!< Lock for the ast_context list */ -AST_LIST_HEAD_STATIC(apps, ast_app); +static AST_LIST_HEAD_STATIC(apps, ast_app); struct ast_switch *switches = NULL; AST_MUTEX_DEFINE_STATIC(switchlock); /*!< Lock for switches */ diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index f78625e83f..12484412a7 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -257,11 +257,11 @@ struct dundi_peer { AST_LIST_ENTRY(dundi_peer) list; }; -AST_LIST_HEAD_STATIC(peers, dundi_peer); -AST_LIST_HEAD_STATIC(pcq, dundi_precache_queue); -AST_LIST_HEAD_NOLOCK_STATIC(mappings, dundi_mapping); -AST_LIST_HEAD_NOLOCK_STATIC(requests, dundi_request); -AST_LIST_HEAD_NOLOCK_STATIC(alltrans, dundi_transaction); +static AST_LIST_HEAD_STATIC(peers, dundi_peer); +static AST_LIST_HEAD_STATIC(pcq, dundi_precache_queue); +static AST_LIST_HEAD_NOLOCK_STATIC(mappings, dundi_mapping); +static AST_LIST_HEAD_NOLOCK_STATIC(requests, dundi_request); +static AST_LIST_HEAD_NOLOCK_STATIC(alltrans, dundi_transaction); static int dundi_xmit(struct dundi_packet *pack);