From e6321aa6a668376c40bc2792a3bd392e94c29ad6 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 3 Dec 2017 20:53:22 -0600 Subject: ansification: remove _PTR Signed-off-by: Yaakov Selkowitz --- newlib/libc/sys/linux/pread.c | 4 ++-- newlib/libc/sys/linux/pread64.c | 2 +- newlib/libc/sys/linux/pwrite.c | 4 ++-- newlib/libc/sys/linux/pwrite64.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'newlib/libc/sys/linux') diff --git a/newlib/libc/sys/linux/pread.c b/newlib/libc/sys/linux/pread.c index 8a016e08a..8d905598f 100644 --- a/newlib/libc/sys/linux/pread.c +++ b/newlib/libc/sys/linux/pread.c @@ -9,7 +9,7 @@ ssize_t _DEFUN (_pread_r, (rptr, fd, buf, n, off), struct _reent *rptr, int fd, - _PTR buf, + void *buf, size_t n, off_t off) { @@ -35,7 +35,7 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off), ssize_t _DEFUN (__libc_pread, (fd, buf, n, off), int fd, - _PTR buf, + void *buf, size_t n, off_t off) { diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c index f95989b45..20d1f9c35 100644 --- a/newlib/libc/sys/linux/pread64.c +++ b/newlib/libc/sys/linux/pread64.c @@ -32,7 +32,7 @@ Supporting OS subroutine required: <>, <>. ssize_t _DEFUN (__libc_pread64, (fd, buf, n, off), int fd, - _PTR buf, + void *buf, size_t n, loff_t off) { diff --git a/newlib/libc/sys/linux/pwrite.c b/newlib/libc/sys/linux/pwrite.c index 2db2935ed..b0ec9c233 100644 --- a/newlib/libc/sys/linux/pwrite.c +++ b/newlib/libc/sys/linux/pwrite.c @@ -9,7 +9,7 @@ ssize_t _DEFUN (_pwrite_r, (rptr, fd, buf, n, off), struct _reent *rptr, int fd, - const _PTR buf, + const void *buf, size_t n, off_t off) { @@ -35,7 +35,7 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off), ssize_t _DEFUN (__libc_pwrite, (fd, buf, n, off), int fd, - const _PTR buf, + const void *buf, size_t n, off_t off) { diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c index d486988dd..c80a3a2d3 100644 --- a/newlib/libc/sys/linux/pwrite64.c +++ b/newlib/libc/sys/linux/pwrite64.c @@ -32,7 +32,7 @@ Supporting OS subroutine required: <>, <>. ssize_t _DEFUN (__libc_pwrite64, (fd, buf, n, off), int fd, - _PTR buf, + void *buf, size_t n, loff_t off) { -- cgit v1.2.3