diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-23 02:04:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-23 02:04:57 +0000 |
commit | 1474648dcea4a65e85dbe4f7c965b3fa0fede5c5 (patch) | |
tree | eac0f30ae2fc4b4411405fddc6c50c84605c94ca | |
parent | 6a05c783acbb25f1c8a5d99960364124b543ae03 (diff) | |
download | glibc-1474648dcea4a65e85dbe4f7c965b3fa0fede5c5.tar.gz glibc-1474648dcea4a65e85dbe4f7c965b3fa0fede5c5.tar.xz glibc-1474648dcea4a65e85dbe4f7c965b3fa0fede5c5.zip |
Add prototype for __strdup.
-rw-r--r-- | include/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index 7fe76b1f38..509fce2df1 100644 --- a/include/string.h +++ b/include/string.h @@ -17,6 +17,8 @@ extern int __strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute_pure__; +extern char *__strdup (__const char *__string) + __attribute_malloc__; extern char *__strndup (__const char *__string, size_t __n) __attribute_malloc__; |