From 8fc64089f3e38755da721bdd82a0fef32bd7d03c Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 11 Dec 2009 02:49:04 +0000 Subject: [PATCH] fix mod_managed build on gcc 4.4 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15897 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_core.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/switch_core.h b/src/include/switch_core.h index 6ce6db4c41..13e7e7a2f2 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -558,7 +558,9 @@ SWITCH_DECLARE(char *) switch_core_session_sprintf(_In_ switch_core_session_t *s \param ap The arguments to use while printing the data \return The new string */ +#ifndef SWIG SWITCH_DECLARE(char *) switch_core_session_vsprintf(switch_core_session_t *session, const char *fmt, va_list ap); +#endif /*! \brief printf-style style printing routine. The data is output to a string allocated from the pool @@ -576,7 +578,9 @@ SWITCH_DECLARE(char *) switch_core_sprintf(_In_ switch_memory_pool_t *pool, _In_ \param ap The arguments to use while printing the data \return The new string */ +#ifndef SWIG SWITCH_DECLARE(char *) switch_core_vsprintf(switch_memory_pool_t *pool, _In_z_ _Printf_format_string_ const char *fmt, va_list ap); +#endif /*! \brief Retrieve the memory pool from a session