Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 05:53:22 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:16 +0300
commite6321aa6a668376c40bc2792a3bd392e94c29ad6 (patch)
treefe4028a6278a7d3f49ff79f0e5150b49f225685f /newlib/libc/sys/linux
parent0403b9c8c40a351ba72f587add10669df225680b (diff)
ansification: remove _PTR
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r--newlib/libc/sys/linux/pread.c4
-rw-r--r--newlib/libc/sys/linux/pread64.c2
-rw-r--r--newlib/libc/sys/linux/pwrite.c4
-rw-r--r--newlib/libc/sys/linux/pwrite64.c2
4 files changed, 6 insertions, 6 deletions
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: <<read>>, <<lseek64>>.
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: <<write>>, <<lseek64>>.
ssize_t
_DEFUN (__libc_pwrite64, (fd, buf, n, off),
int fd,
- _PTR buf,
+ void *buf,
size_t n,
loff_t off)
{