diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-22 01:57:40 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-22 01:57:40 +0000 |
commit | ee1469d703827b6ff8f9df756b292c25acff971a (patch) | |
tree | d8c453c0d0c194114e9d7257c70864f955616dc0 /include | |
parent | 830880888f761f547277b163821406689202cd61 (diff) |
Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40815 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 05962c080..41ca9339b 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -433,7 +433,7 @@ char * attribute_malloc _ast_strndup(const char *str, size_t len, const char *fi _ast_asprintf((ret), __FILE__, __LINE__, __PRETTY_FUNCTION__, fmt, __VA_ARGS__) AST_INLINE_API( -int attribute_malloc _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, ...), { int res; va_list ap; @@ -459,7 +459,7 @@ int attribute_malloc _ast_asprintf(char **ret, const char *file, int lineno, con _ast_vasprintf((ret), __FILE__, __LINE__, __PRETTY_FUNCTION__, (fmt), (ap)) AST_INLINE_API( -int attribute_malloc _ast_vasprintf(char **ret, const char *file, int lineno, const char *func, const char *fmt, va_list ap), +int _ast_vasprintf(char **ret, const char *file, int lineno, const char *func, const char *fmt, va_list ap), { int res; |