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/reent
parent0403b9c8c40a351ba72f587add10669df225680b (diff)
ansification: remove _PTR
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r--newlib/libc/reent/readr.c2
-rw-r--r--newlib/libc/reent/writer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/reent/readr.c b/newlib/libc/reent/readr.c
index edc6fd08b..9a3a694cc 100644
--- a/newlib/libc/reent/readr.c
+++ b/newlib/libc/reent/readr.c
@@ -41,7 +41,7 @@ _ssize_t
_DEFUN (_read_r, (ptr, fd, buf, cnt),
struct _reent *ptr,
int fd,
- _PTR buf,
+ void *buf,
size_t cnt)
{
_ssize_t ret;
diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c
index 4c4f95f77..8d4b37530 100644
--- a/newlib/libc/reent/writer.c
+++ b/newlib/libc/reent/writer.c
@@ -41,7 +41,7 @@ _ssize_t
_DEFUN (_write_r, (ptr, fd, buf, cnt),
struct _reent *ptr,
int fd,
- const _PTR buf,
+ const void *buf,
size_t cnt)
{
_ssize_t ret;