Declare memcpy if !(_LIBC || STDC_HEADERS) instead of strcpy.
authordrepper <drepper>
Sun, 16 Mar 1997 18:28:57 +0000 (18:28 +0000)
committerdrepper <drepper>
Sun, 16 Mar 1997 18:28:57 +0000 (18:28 +0000)
string/strdup.c

index 257f428..be3883f 100644 (file)
@@ -25,7 +25,7 @@
 # include <string.h>
 #else
 char *malloc ();
-char *strcpy ();
+char *memcpy ();
 #endif
 
 #ifndef weak_alias