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

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-05-27 14:51:43 +00:00
parent e3dec82d84
commit b365d27f4d

View File

@@ -74,7 +74,7 @@
#endif #endif
#if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC) #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 #endif
#ifndef HAVE_GETLOADAVG #ifndef HAVE_GETLOADAVG