mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Merged revisions 118556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r118556 | russell | 2008-05-27 14:27:48 -0500 (Tue, 27 May 2008) | 6 lines Add printf format attribute for vasprintf(). (closes issue #12729) Reported by: snuffy Patches: bug_12729.diff uploaded by snuffy (license 35) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -110,7 +110,7 @@ int unsetenv(const char *name);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_VASPRINTF) && !defined(__AST_DEBUG_MALLOC)
|
#if !defined(HAVE_VASPRINTF) && !defined(__AST_DEBUG_MALLOC)
|
||||||
int vasprintf(char **strp, const char *fmt, va_list ap);
|
int __attribute__ ((format (printf, 2, 0))) vasprintf(char **strp, const char *fmt, va_list ap);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRLCAT
|
#ifndef HAVE_STRLCAT
|
||||||
|
|||||||
Reference in New Issue
Block a user