aboutsummaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-23 02:04:57 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-23 02:04:57 +0000
commit1474648dcea4a65e85dbe4f7c965b3fa0fede5c5 (patch)
treeeac0f30ae2fc4b4411405fddc6c50c84605c94ca /include/string.h
parent6a05c783acbb25f1c8a5d99960364124b543ae03 (diff)
downloadglibc-1474648dcea4a65e85dbe4f7c965b3fa0fede5c5.zip
glibc-1474648dcea4a65e85dbe4f7c965b3fa0fede5c5.tar.gz
glibc-1474648dcea4a65e85dbe4f7c965b3fa0fede5c5.tar.bz2
Add prototype for __strdup.
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 7fe76b1..509fce2 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__;