aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 4ba4c46d4..950712060 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -110,7 +110,7 @@ int unsetenv(const char *name);
#endif
#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
#ifndef HAVE_STRLCAT