[asterisk-commits] trunk r31359 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jun 1 07:15:16 MST 2006


Author: russell
Date: Thu Jun  1 09:15:16 2006
New Revision: 31359

URL: http://svn.digium.com/view/asterisk?rev=31359&view=rev
Log:
make a global variable static and remove an unused global variable
(issue #7258, tardieu)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=31359&r1=31358&r2=31359&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Jun  1 09:15:16 2006
@@ -288,7 +288,7 @@
 	SIP_INFO,
 	SIP_CANCEL,
 	SIP_PUBLISH,
-} sip_method_list;
+};
 
 enum sip_auth_type {
 	PROXY_AUTH,
@@ -481,7 +481,7 @@
 static int allow_external_domains;	/*!< Accept calls to external SIP domains? */
 static int global_callevents;		/*!< Whether we send manager events or not */
 static int global_t1min;		/*!< T1 roundtrip time minimum */
-enum transfermodes global_allowtransfer;	/*! SIP Refer restriction scheme */
+static enum transfermodes global_allowtransfer;	/*!< SIP Refer restriction scheme */
 
 /*! \brief Codecs that we support by default: */
 static int global_capability = AST_FORMAT_ULAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263;



More information about the asterisk-commits mailing list