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/stdio64 | |
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/stdio64')
-rw-r--r-- | newlib/libc/stdio64/fdopen64.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdio64/fopen64.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdio64/freopen64.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c index f0c3c07..3c8d4fa 100644 --- a/newlib/libc/stdio64/fdopen64.c +++ b/newlib/libc/stdio64/fdopen64.c @@ -76,7 +76,7 @@ _DEFUN (_fdopen64_r, (ptr, fd, mode), _fcntl_r (ptr, fd, F_SETFL, fdflags | O_APPEND); #endif fp->_file = fd; - fp->_cookie = (_PTR) fp; + fp->_cookie = (void *) fp; #undef _read #undef _write diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c index 6bdf619..406afa1 100644 --- a/newlib/libc/stdio64/fopen64.c +++ b/newlib/libc/stdio64/fopen64.c @@ -93,7 +93,7 @@ _DEFUN (_fopen64_r, (ptr, file, mode), fp->_file = f; fp->_flags = flags; - fp->_cookie = (_PTR) fp; + fp->_cookie = (void *) fp; fp->_read = __sread; fp->_write = __swrite64; fp->_seek = __sseek; diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c index 02995b9..d267899 100644 --- a/newlib/libc/stdio64/freopen64.c +++ b/newlib/libc/stdio64/freopen64.c @@ -222,7 +222,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp), fp->_flags = flags; fp->_file = f; - fp->_cookie = (_PTR) fp; + fp->_cookie = (void *) fp; fp->_read = __sread; fp->_write = __swrite64; fp->_seek = __sseek; |