diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 20:53:22 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:16 -0600 |
commit | e6321aa6a668376c40bc2792a3bd392e94c29ad6 (patch) | |
tree | fe4028a6278a7d3f49ff79f0e5150b49f225685f /newlib/libc/stdlib/reallocf.c | |
parent | 0403b9c8c40a351ba72f587add10669df225680b (diff) | |
download | newlib-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.c | 8 |
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); |