[asterisk-commits] simon.perreault: branch group/v6 r84669 - /team/group/v6/trunk/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 4 10:41:58 CDT 2007


Author: simon.perreault
Date: Thu Oct  4 10:41:58 2007
New Revision: 84669

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84669
Log:
Static function qualifier should only appear in the declaration.
Besides, it confuses ctags.

Modified:
    team/group/v6/trunk/channels/chan_sip.c

Modified: team/group/v6/trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/v6/trunk/channels/chan_sip.c?view=diff&rev=84669&r1=84668&r2=84669
==============================================================================
--- team/group/v6/trunk/channels/chan_sip.c (original)
+++ team/group/v6/trunk/channels/chan_sip.c Thu Oct  4 10:41:58 2007
@@ -4972,7 +4972,7 @@
  *  \param hoststr String containing either a hostname, peer name or address.
  *  \return Pointer to properly allocated and initialized sip_pvt
  */
-static struct sip_pvt *sip_alloc_fromhost(ast_string_field callid, const char *hoststr,
+struct sip_pvt *sip_alloc_fromhost(ast_string_field callid, const char *hoststr,
 		struct sip_peer *peer_param,
 		int useglobal_nat, const int intended_method)
 {
@@ -5064,7 +5064,7 @@
  *  \param ns ast_vinetsock structure associated with the socket on which the
  *  packet was received.
  */
-static struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr *sa,
+struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr *sa,
 		socklen_t sa_len, struct ast_vinetsock *ns,
 		int useglobal_nat, const int intended_method)
 {




More information about the asterisk-commits mailing list