[asterisk-commits] twilson: branch 1.4 r160266 - /branches/1.4/include/asterisk/astmm.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 1 19:16:31 CST 2008


Author: twilson
Date: Mon Dec  1 19:16:30 2008
New Revision: 160266

URL: http://svn.digium.com/view/asterisk?view=rev&rev=160266
Log:
make compile with dev mode and malloc debug

Modified:
    branches/1.4/include/asterisk/astmm.h

Modified: branches/1.4/include/asterisk/astmm.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/astmm.h?view=diff&rev=160266&r1=160265&r2=160266
==============================================================================
--- branches/1.4/include/asterisk/astmm.h (original)
+++ branches/1.4/include/asterisk/astmm.h Mon Dec  1 19:16:30 2008
@@ -50,8 +50,8 @@
 void *__ast_realloc(void *ptr, size_t size, const char *file, int lineno, const char *func);
 char *__ast_strdup(const char *s, const char *file, int lineno, const char *func);
 char *__ast_strndup(const char *s, size_t n, const char *file, int lineno, const char *func);
-int __ast_asprintf(const char *file, int lineno, const char *func, char **strp, const char *format, ...);
-int __ast_vasprintf(char **strp, const char *format, va_list ap, const char *file, int lineno, const char *func);
+int __ast_asprintf(const char *file, int lineno, const char *func, char **strp, const char *format, ...) __attribute__((format(printf, 5, 6)));
+int __ast_vasprintf(char **strp, const char *format, va_list ap, const char *file, int lineno, const char *func) __attribute__((format(printf, 2, 0)));
 
 void __ast_mm_init(void);
 




More information about the asterisk-commits mailing list