Add prototype for __strdup.
authorUlrich Drepper <drepper@redhat.com>
Fri, 23 Jun 2000 02:04:57 +0000 (02:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 23 Jun 2000 02:04:57 +0000 (02:04 +0000)
include/string.h

index 7fe76b1..509fce2 100644 (file)
@@ -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__;