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/unix
parent0403b9c8c40a351ba72f587add10669df225680b (diff)
ansification: remove _PTR
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r--newlib/libc/unix/pread.c4
-rw-r--r--newlib/libc/unix/pwrite.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c
index 236044465..54efe29fe 100644
--- a/newlib/libc/unix/pread.c
+++ b/newlib/libc/unix/pread.c
@@ -41,7 +41,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)
{
@@ -67,7 +67,7 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (pread, (fd, buf, n, off),
int fd,
- _PTR buf,
+ void *buf,
size_t n,
off_t off)
{
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index 3bf759bd0..939d186d4 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -42,7 +42,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)
{
@@ -68,7 +68,7 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (pwrite, (fd, buf, n, off),
int fd,
- const _PTR buf,
+ const void *buf,
size_t n,
off_t off)
{