aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/reallocf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/reallocf.c')
-rw-r--r--newlib/libc/stdlib/reallocf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/reallocf.c b/newlib/libc/stdlib/reallocf.c
index b3f1b2a..c4aaeae 100644
--- a/newlib/libc/stdlib/reallocf.c
+++ b/newlib/libc/stdlib/reallocf.c
@@ -30,10 +30,10 @@
#include <stdlib.h>
-_PTR
+void *
_DEFUN (_reallocf_r, (reentptr, ptr, size),
struct _reent *reentptr,
- _PTR ptr,
+ void *ptr,
size_t size)
{
void *nptr;
@@ -45,9 +45,9 @@ _DEFUN (_reallocf_r, (reentptr, ptr, size),
}
#ifndef _REENT_ONLY
-_PTR
+void *
_DEFUN (reallocf, (ptr, size),
- _PTR ptr,
+ void *ptr,
size_t size)
{
return _reallocf_r(_REENT, ptr, size);