aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fwrite.c')
-rw-r--r--newlib/libc/stdio/fwrite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c
index a805eff..cfaa249 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 _PTR __restrict buf,
size_t size,
size_t count,
FILE * __restrict fp)
@@ -144,7 +144,7 @@ _DEFUN(_fwrite_r, (ptr, buf, size, count, fp),
return (n - uio.uio_resid) / size;
#else
size_t i = 0;
- _CONST char *p = buf;
+ const char *p = buf;
n = count * size;
CHECK_INIT (ptr, fp);
@@ -171,7 +171,7 @@ ret:
#ifndef _REENT_ONLY
size_t
_DEFUN(fwrite, (buf, size, count, fp),
- _CONST _PTR __restrict buf,
+ const _PTR __restrict buf,
size_t size,
size_t count,
FILE * fp)