From 33fd9833419408c892c8b48e6358baefc6296ba1 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 1 Jun 2006 14:15:16 +0000 Subject: make a global variable static and remove an unused global variable (issue #7258, tardieu) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31359 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 13039c396..4f4901723 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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; -- cgit v1.2.3