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:
parent
913171396e
commit
d030b74485
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue