aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/reallocf.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:53:22 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:16 -0600
commite6321aa6a668376c40bc2792a3bd392e94c29ad6 (patch)
treefe4028a6278a7d3f49ff79f0e5150b49f225685f /newlib/libc/stdlib/reallocf.c
parent0403b9c8c40a351ba72f587add10669df225680b (diff)
downloadnewlib-e6321aa6a668376c40bc2792a3bd392e94c29ad6.zip
newlib-e6321aa6a668376c40bc2792a3bd392e94c29ad6.tar.gz
newlib-e6321aa6a668376c40bc2792a3bd392e94c29ad6.tar.bz2
ansification: remove _PTR
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
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);