This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: add missing __strdup decl to include/string.h


2000-06-21  Greg McGary  <greg@mcgary.org>

	* include/string.h (__strdup): Add extern decl.

Index: include/string.h
===================================================================
RCS file: /cvs/glibc/libc/include/string.h,v
retrieving revision 1.10
diff -u -p -r1.10 string.h
--- string.h	2000/05/12 06:59:53	1.10
+++ string.h	2000/06/19 19:17:58
@@ -17,6 +17,9 @@ extern int __strncasecmp (__const char *
 			  size_t __n)
      __attribute_pure__;
 
+extern char *__strdup (__const char *__string)
+     __attribute_malloc__;
+
 extern char *__strndup (__const char *__string, size_t __n)
      __attribute_malloc__;
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]