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
This commit is contained in:
Russell Bryant
2006-05-02 04:40:09 +00:00
parent 34e0ae0e6a
commit 0765f065ca
2 changed files with 7 additions and 7 deletions

4
pbx.c
View File

@@ -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 */

View 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);