diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-27 14:51:43 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-27 14:51:43 +0000 |
commit | 157de3759349c8a81ab74a9912c089c000864c3b (patch) | |
tree | 5742b52e30694ed4c4173a3f910c37ded346dcba /include | |
parent | 0469a65ffea2938280a7c34e2a047d36bd243e7d (diff) |
Merged revisions 118328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r118328 | russell | 2008-05-27 09:51:13 -0500 (Tue, 27 May 2008) | 2 lines
Add printf attribute to asprintf
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 43da49bc0..4ba4c46d4 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -74,7 +74,7 @@ #endif #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 #ifndef HAVE_GETLOADAVG |