[Freeswitch-svn] [commit] r6315 - freeswitch/trunk/src/include
Freeswitch SVN
mikej at freeswitch.org
Fri Nov 16 18:17:08 EST 2007
Author: mikej
Date: Fri Nov 16 18:17:07 2007
New Revision: 6315
Modified:
freeswitch/trunk/src/include/switch_core_db.h
Log:
make gcc think switch_mprintf is printf like.
Modified: freeswitch/trunk/src/include/switch_core_db.h
==============================================================================
--- freeswitch/trunk/src/include/switch_core_db.h (original)
+++ freeswitch/trunk/src/include/switch_core_db.h Fri Nov 16 18:17:07 2007
@@ -539,7 +539,7 @@
* should always use %q instead of %s when inserting text into a string
* literal.
*/
-SWITCH_DECLARE(char *) switch_mprintf(const char *zFormat, ...);
+SWITCH_DECLARE(char *) switch_mprintf(const char *zFormat, ...) PRINTF_FUNCTION(1, 2);
SWITCH_END_EXTERN_C
#endif
More information about the Freeswitch-svn
mailing list