[asterisk-commits] trunk r30655 - /trunk/channels/chan_jingle.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat May 27 11:47:45 MST 2006


Author: russell
Date: Sat May 27 13:47:44 2006
New Revision: 30655

URL: http://svn.digium.com/view/asterisk?rev=30655&view=rev
Log:
make some variables static ... committed from xcode :)

Modified:
    trunk/channels/chan_jingle.c

Modified: trunk/channels/chan_jingle.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_jingle.c?rev=30655&r1=30654&r2=30655&view=diff
==============================================================================
--- trunk/channels/chan_jingle.c (original)
+++ trunk/channels/chan_jingle.c Sat May 27 13:47:44 2006
@@ -159,9 +159,9 @@
 static int global_capability = AST_FORMAT_ULAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263;
 
 /* Protect the interface list (of sip_pvt's) */
-AST_MUTEX_DEFINE_STATIC(jinglelock);
-
-AST_MUTEX_DEFINE_STATIC(rand_lock);	/*!< Lock for thread-safe random generator */
+static AST_MUTEX_DEFINE_STATIC(jinglelock);
+
+static AST_MUTEX_DEFINE_STATIC(rand_lock);	/*!< Lock for thread-safe random generator */
 
 
 static struct ast_channel *jingle_request(const char *type, int format, void *data, int *cause);
@@ -214,9 +214,9 @@
 	get_codec: jingle_get_codec,
 };
 
-char externip[16];
-
-struct jingle_container jingles;
+static char externip[16];
+
+static struct jingle_container jingles;
 
 static void jingle_member_destroy(struct jingle *obj)
 {



More information about the asterisk-commits mailing list