make some variables static ... committed from xcode :)
authorRussell Bryant <russell@russellbryant.com>
Sat, 27 May 2006 18:47:44 +0000 (18:47 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 27 May 2006 18:47:44 +0000 (18:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30655 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_jingle.c

index aed1971..1bb1eb2 100644 (file)
@@ -159,9 +159,9 @@ AST_MUTEX_DEFINE_STATIC(usecnt_lock);
 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);
+static AST_MUTEX_DEFINE_STATIC(jinglelock);
 
-AST_MUTEX_DEFINE_STATIC(rand_lock);    /*!< Lock for thread-safe random generator */
+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 @@ static struct ast_rtp_protocol jingle_rtp = {
        get_codec: jingle_get_codec,
 };
 
-char externip[16];
+static char externip[16];
 
-struct jingle_container jingles;
+static struct jingle_container jingles;
 
 static void jingle_member_destroy(struct jingle *obj)
 {