From 2a505c961d490214d9801db06af253f234600a31 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 19 Dec 1999 19:14:15 +0000 Subject: Update. * sysdeps/unix/sysv/linux/bits/resource.h: Remove inclusion. 1999-12-19 Andreas Jaeger * include/string.h: Mark __strndup with __attribute_malloc__. 1999-12-19 Ulrich Drepper --- include/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/string.h') 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); -- cgit 1.4.1