make a global variable static and remove an unused global variable
authorRussell Bryant <russell@russellbryant.com>
Thu, 1 Jun 2006 14:15:16 +0000 (14:15 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 1 Jun 2006 14:15:16 +0000 (14:15 +0000)
(issue #7258, tardieu)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 13039c3..4f49017 100644 (file)
@@ -288,7 +288,7 @@ enum sipmethod {
        SIP_INFO,
        SIP_CANCEL,
        SIP_PUBLISH,
-} sip_method_list;
+};
 
 enum sip_auth_type {
        PROXY_AUTH,
@@ -481,7 +481,7 @@ static char global_useragent[AST_MAX_EXTENSION];    /*!< Useragent for the SIP chan
 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;