[asterisk-commits] mmichelson: branch 1.6.0 r109546 - in /branches/1.6.0: ./ include/asterisk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 18 12:01:37 CDT 2008
Author: mmichelson
Date: Tue Mar 18 12:01:36 2008
New Revision: 109546
URL: http://svn.digium.com/view/asterisk?view=rev&rev=109546
Log:
Merged revisions 109545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r109545 | mmichelson | 2008-03-18 12:00:53 -0500 (Tue, 18 Mar 2008) | 3 lines
Add format attribute to printf-style functions in astmm.h
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/include/asterisk/astmm.h
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/include/asterisk/astmm.h
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/include/asterisk/astmm.h?view=diff&rev=109546&r1=109545&r2=109546
==============================================================================
--- branches/1.6.0/include/asterisk/astmm.h (original)
+++ branches/1.6.0/include/asterisk/astmm.h Tue Mar 18 12:01:36 2008
@@ -43,9 +43,10 @@
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