2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00
Files
amigaos-cross-toolchain6/patches/binutils-2.9.1/libiberty/argv.c.diff
Krystian Bacławski da2d7bde0e Update patches.
2012-08-04 13:01:59 +02:00

18 lines
614 B
Diff

--- binutils-2.9.1/libiberty/argv.c 1998-05-01 17:47:48.000000000 +0200
+++ binutils-2.9.1/libiberty/argv.c 2012-08-04 12:43:35.000000000 +0200
@@ -35,12 +35,13 @@
#ifdef __STDC__
#include <stddef.h>
+#ifndef __APPLE__
extern void *memcpy (void *s1, const void *s2, size_t n); /* 4.11.2.1 */
extern size_t strlen (const char *s); /* 4.11.6.3 */
extern void *malloc (size_t size); /* 4.10.3.3 */
extern void *realloc (void *ptr, size_t size); /* 4.10.3.4 */
extern void free (void *ptr); /* 4.10.3.2 */
-extern char *strdup (const char *s); /* Non-ANSI */
+#endif
#else /* !__STDC__ */