diff options
author | Olle Johansson <oej@edvina.net> | 2009-09-07 18:29:45 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2009-09-07 18:29:45 +0000 |
commit | 730715337e96dd8de82a365d23430be77e7be31c (patch) | |
tree | 733eb697de6ed01052dd9ed3a756d49afb9762f8 /channels | |
parent | dce193357f0ae568996e4b1023314dee77b9137f (diff) |
Moving another function declared in the middle of forward declarations.
Please follow the structure of the source code, thanks. Chan_sip is messy enough as it is :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@216917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index aab808495..0ba1fa401 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2562,11 +2562,6 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char static void sip_dump_history(struct sip_pvt *dialog); /* Dump history to debuglog at end of dialog, before destroying data */ static inline int sip_debug_test_addr(const struct sockaddr_in *addr); static inline int sip_debug_test_pvt(struct sip_pvt *p); - - -/*! \brief Append to SIP dialog history - \return Always returns 0 */ -#define append_history(p, event, fmt , args... ) append_history_full(p, "%-15s " fmt, event, ## args) static void append_history_full(struct sip_pvt *p, const char *fmt, ...); static void sip_dump_history(struct sip_pvt *dialog); @@ -2802,6 +2797,10 @@ static struct ast_tcptls_session_args sip_tls_desc = { /* wrapper macro to tell whether t points to one of the sip_tech descriptors */ #define IS_SIP_TECH(t) ((t) == &sip_tech || (t) == &sip_tech_info) +/*! \brief Append to SIP dialog history + \return Always returns 0 */ +#define append_history(p, event, fmt , args... ) append_history_full(p, "%-15s " fmt, event, ## args) + /*! \brief map from an integer value to a string. * If no match is found, return errorstring */ |