staticize the list heads from my recent conversions to list macros
authorRussell Bryant <russell@russellbryant.com>
Tue, 2 May 2006 04:40:09 +0000 (04:40 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 2 May 2006 04:40:09 +0000 (04:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24139 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx.c
pbx/pbx_dundi.c

diff --git a/pbx.c b/pbx.c
index 8df40eb..e7a7263 100644 (file)
--- 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 */
index f78625e..1248441 100644 (file)
@@ -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);