Skip to content
Snippets Groups Projects
Commit 982959c0 authored by Russell Bryant's avatar Russell Bryant
Browse files

Add printf attribute to asprintf

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@118328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 6006f40c
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment