diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-23 13:18:44 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-23 13:18:44 +0000 |
commit | 946fc9543254680c6c9d95fe1731a22499886a5a (patch) | |
tree | 8556556e517d1894ab1df102eb652049937fb86d /include/asterisk | |
parent | c24462a477dd9dd4cd2295dad9f8594ea2d91f20 (diff) |
Add format type checking for recently de-inlined function
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@118055 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index cb96dc1ff..4b1a7f417 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -474,7 +474,7 @@ char * attribute_malloc _ast_strndup(const char *str, size_t len, const char *fi #define ast_asprintf(ret, fmt, ...) \ _ast_asprintf((ret), __FILE__, __LINE__, __PRETTY_FUNCTION__, fmt, __VA_ARGS__) -int _ast_asprintf(char **ret, const char *file, int lineno, const char *func, const char *fmt, ...); +int _ast_asprintf(char **ret, const char *file, int lineno, const char *func, const char *fmt, ...) __attribute__ ((format (printf, 5, 6))); /*! * \brief A wrapper for vasprintf() |