diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 5256bdcfc2..6f00a894fa 100644 --- a/include/string.h +++ b/include/string.h @@ -14,7 +14,8 @@ extern int __strverscmp (__const char *__s1, __const char *__s2); extern int __strncasecmp (__const char *__s1, __const char *__s2, size_t __n); -extern char *__strndup (__const char *__string, size_t __n); +extern char *__strndup (__const char *__string, size_t __n) + __attribute_malloc__; extern void *__rawmemchr (__const void *__s, int __c); |