summaryrefslogtreecommitdiff
path: root/libiberty/strdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/strdup.c')
-rw-r--r--libiberty/strdup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/strdup.c b/libiberty/strdup.c
index 78c2093b61a..8a4188eadfb 100644
--- a/libiberty/strdup.c
+++ b/libiberty/strdup.c
@@ -13,8 +13,8 @@ Returns a pointer to a copy of @var{s} in memory obtained from
#include <stddef.h>
extern size_t strlen (const char*);
-extern PTR malloc (size_t);
-extern PTR memcpy (PTR, const PTR, size_t);
+extern void *malloc (size_t);
+extern void *memcpy (void *, const void *, size_t);
char *
strdup(const char *s)