]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
remove duplicate declarations
authorOlle Johansson <oej@edvina.net>
Wed, 18 Oct 2006 11:54:33 +0000 (11:54 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 18 Oct 2006 11:54:33 +0000 (11:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45517 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index b7430610774d8342d5956392f0362478d8502807..9475898eec195b868ee31b853e38454a7f5444ba 100644 (file)
@@ -1267,9 +1267,6 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p);
 /*--- Authentication stuff */
 static int reply_digest(struct sip_pvt *p, struct sip_request *req, char *header, int sipmethod, char *digest, int digest_len);
 static int build_reply_digest(struct sip_pvt *p, int method, char *digest, int digest_len);
-static int clear_realm_authentication(struct sip_auth *authlist);      /* Clear realm authentication list (at reload) */
-static struct sip_auth *add_realm_authentication(struct sip_auth *authlist, char *configuration, int lineno);  /* Add realm authentication in list */
-static struct sip_auth *find_realm_authentication(struct sip_auth *authlist, const char *realm);       /* Find authentication for a specific realm */
 static enum check_auth_result check_auth(struct sip_pvt *p, struct sip_request *req, const char *username,
                                         const char *secret, const char *md5secret, int sipmethod,
                                         char *uri, enum xmittype reliable, int ignore);
@@ -1285,7 +1282,7 @@ static void clear_sip_domains(void);
 
 /*--- SIP realm authentication */
 static struct sip_auth *add_realm_authentication(struct sip_auth *authlist, char *configuration, int lineno);
-static int clear_realm_authentication(struct sip_auth *authlist);
+static int clear_realm_authentication(struct sip_auth *authlist);      /* Clear realm authentication list (at reload) */
 static struct sip_auth *find_realm_authentication(struct sip_auth *authlist, const char *realm);
 
 /*--- Misc functions */
@@ -1433,7 +1430,6 @@ static void parse_copy(struct sip_request *dst, const struct sip_request *src);
 static char *get_in_brackets(char *tmp);
 static const char *find_alias(const char *name, const char *_default);
 static const char *__get_header(const struct sip_request *req, const char *name, int *start);
-static const char *get_header(const struct sip_request *req, const char *name);
 static int lws2sws(char *msgbuf, int len);
 static void extract_uri(struct sip_pvt *p, struct sip_request *req);
 static int get_refer_info(struct sip_pvt *transferer, struct sip_request *outgoing_req);