]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix mod_managed build on gcc 4.4
authorMichael Jerris <mike@jerris.com>
Fri, 11 Dec 2009 02:49:04 +0000 (02:49 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 11 Dec 2009 02:49:04 +0000 (02:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15897 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_core.h

index 6ce6db4c41eebec30ec6fc5d62f1da914d5e6812..13e7e7a2f24d73aa5552a8eafdf573ac6a7d218d 100644 (file)
@@ -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