[asterisk-commits] trunk r24139 - in /trunk: pbx.c pbx/pbx_dundi.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 1 21:40:10 MST 2006


Author: russell
Date: Mon May  1 23:40:09 2006
New Revision: 24139

URL: http://svn.digium.com/view/asterisk?rev=24139&view=rev
Log:
staticize the list heads from my recent conversions to list macros

Modified:
    trunk/pbx.c
    trunk/pbx/pbx_dundi.c

Modified: trunk/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx.c?rev=24139&r1=24138&r2=24139&view=diff
==============================================================================
--- trunk/pbx.c (original)
+++ trunk/pbx.c Mon May  1 23:40:09 2006
@@ -244,7 +244,7 @@
 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 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 */

Modified: trunk/pbx/pbx_dundi.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_dundi.c?rev=24139&r1=24138&r2=24139&view=diff
==============================================================================
--- trunk/pbx/pbx_dundi.c (original)
+++ trunk/pbx/pbx_dundi.c Mon May  1 23:40:09 2006
@@ -257,11 +257,11 @@
 	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);
 



More information about the asterisk-commits mailing list