make a global variable static and remove an unused global variable

(issue #7258, tardieu)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 19 years ago
parent e21181dbd4
commit 62b2f320a1

@ -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;

Loading…
Cancel
Save