[svn-commits] markm: trunk r361039 - /trunk/include/asterisk/manager.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Apr 3 15:03:48 CDT 2012


Author: markm
Date: Tue Apr  3 15:03:44 2012
New Revision: 361039

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=361039
Log:
Fix dev-mode compiler warning about gnu_printf

(related to ASTERISK-19575)

Modified:
    trunk/include/asterisk/manager.h

Modified: trunk/include/asterisk/manager.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/manager.h?view=diff&rev=361039&r1=361038&r2=361039
==============================================================================
--- trunk/include/asterisk/manager.h (original)
+++ trunk/include/asterisk/manager.h Tue Apr  3 15:03:44 2012
@@ -262,7 +262,7 @@
 void astman_send_error(struct mansession *s, const struct message *m, char *error);
 
 /*! \brief Send error in manager transaction (with va_args support) */
-void astman_send_error_va(struct mansession *s, const struct message *m, const char *fmt, ...);
+void __attribute__((format(printf, 3, 4))) astman_send_error_va(struct mansession *s, const struct message *m, const char *fmt, ...);
 
 /*! \brief Send response in manager transaction */
 void astman_send_response(struct mansession *s, const struct message *m, char *resp, char *msg);




More information about the svn-commits mailing list