diff options
Diffstat (limited to 'libiberty/strndup.c')
-rw-r--r-- | libiberty/strndup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/strndup.c b/libiberty/strndup.c index 5992ee9..cfbb381 100644 --- a/libiberty/strndup.c +++ b/libiberty/strndup.c @@ -34,8 +34,8 @@ memory was available. The result is always NUL terminated. #include <stddef.h> extern size_t strnlen (const char *s, size_t maxlen); -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 * strndup (const char *s, size_t n) |