aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fwrite.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:53:22 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:16 -0600
commite6321aa6a668376c40bc2792a3bd392e94c29ad6 (patch)
treefe4028a6278a7d3f49ff79f0e5150b49f225685f /newlib/libc/stdio/fwrite.c
parent0403b9c8c40a351ba72f587add10669df225680b (diff)
downloadnewlib-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/stdio/fwrite.c')
-rw-r--r--newlib/libc/stdio/fwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c
index cfaa249..7dec80c 100644
--- a/newlib/libc/stdio/fwrite.c
+++ b/newlib/libc/stdio/fwrite.c
@@ -110,7 +110,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
size_t
_DEFUN(_fwrite_r, (ptr, buf, size, count, fp),
struct _reent * ptr,
- const _PTR __restrict buf,
+ const void *__restrict buf,
size_t size,
size_t count,
FILE * __restrict fp)
@@ -171,7 +171,7 @@ ret:
#ifndef _REENT_ONLY
size_t
_DEFUN(fwrite, (buf, size, count, fp),
- const _PTR __restrict buf,
+ const void *__restrict buf,
size_t size,
size_t count,
FILE * fp)