make gcc think switch_mprintf is printf like.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6315 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-11-16 23:17:07 +00:00
parent 913171396e
commit d030b74485
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ SWITCH_DECLARE(int) switch_core_db_changes(switch_core_db_t *db);
* 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