aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-19 19:14:15 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-19 19:14:15 +0000
commit2a505c961d490214d9801db06af253f234600a31 (patch)
treefe7ab9b4845e02d7469ad82687e82a3616e36fb1 /include
parent77c80d6591391544bd5e29d6607ef38f8fe709b7 (diff)
downloadglibc-2a505c961d490214d9801db06af253f234600a31.zip
glibc-2a505c961d490214d9801db06af253f234600a31.tar.gz
glibc-2a505c961d490214d9801db06af253f234600a31.tar.bz2
Update.
* sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h> inclusion. 1999-12-19 Andreas Jaeger <aj@suse.de> * include/string.h: Mark __strndup with __attribute_malloc__. 1999-12-19 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'include')
-rw-r--r--include/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index 5256bdc..6f00a89 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);