[svn-commits] russell: trunk r118328 - /trunk/include/asterisk/compat.h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue May 27 09:51:15 CDT 2008
Author: russell
Date: Tue May 27 09:51:13 2008
New Revision: 118328
URL: http://svn.digium.com/view/asterisk?view=rev&rev=118328
Log:
Add printf attribute to asprintf
Modified:
trunk/include/asterisk/compat.h
Modified: trunk/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/compat.h?view=diff&rev=118328&r1=118327&r2=118328
==============================================================================
--- trunk/include/asterisk/compat.h (original)
+++ trunk/include/asterisk/compat.h Tue May 27 09:51:13 2008
@@ -74,7 +74,7 @@
#endif
#if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC)
-int asprintf(char **str, const char *fmt, ...);
+int __attribute__ ((format (printf, 2, 3))) asprintf(char **str, const char *fmt, ...);
#endif
#ifndef HAVE_GETLOADAVG
More information about the svn-commits
mailing list