[asterisk-commits] russell: branch 1.6.0 r118331 - in /branches/1.6.0: ./ include/asterisk/compat.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 27 09:51:44 CDT 2008


Author: russell
Date: Tue May 27 09:51:43 2008
New Revision: 118331

URL: http://svn.digium.com/view/asterisk?view=rev&rev=118331
Log:
Merged revisions 118328 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r118328 | russell | 2008-05-27 09:51:13 -0500 (Tue, 27 May 2008) | 2 lines

Add printf attribute to asprintf

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/include/asterisk/compat.h

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/include/asterisk/compat.h?view=diff&rev=118331&r1=118330&r2=118331
==============================================================================
--- branches/1.6.0/include/asterisk/compat.h (original)
+++ branches/1.6.0/include/asterisk/compat.h Tue May 27 09:51:43 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 asterisk-commits mailing list