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/stdio/nano-vfprintf.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/stdio/nano-vfprintf.c')
-rw-r--r-- | newlib/libc/stdio/nano-vfprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c index df20783..e87f374 100644 --- a/newlib/libc/stdio/nano-vfprintf.c +++ b/newlib/libc/stdio/nano-vfprintf.c @@ -239,7 +239,7 @@ _DEFUN(__ssputs_r, (ptr, fp, buf, len), if (len < w) w = len; - (void)memmove ((_PTR) fp->_p, (_PTR) buf, (size_t) (w)); + (void)memmove ((void *) fp->_p, (void *) buf, (size_t) (w)); fp->_w -= w; fp->_p += w; return 0; @@ -331,7 +331,7 @@ _DEFUN(__ssprint_r, (ptr, fp, uio), if (len < w) w = len; - (void)memmove ((_PTR) fp->_p, (_PTR) p, (size_t) (w)); + (void)memmove ((void *) fp->_p, (void *) p, (size_t) (w)); fp->_w -= w; fp->_p += w; /* Pretend we copied all. */ |