aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fputs.c')
-rw-r--r--newlib/libc/stdio/fputs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/fputs.c b/newlib/libc/stdio/fputs.c
index 7adb89a..0fd051b 100644
--- a/newlib/libc/stdio/fputs.c
+++ b/newlib/libc/stdio/fputs.c
@@ -88,7 +88,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_fputs_r, (ptr, s, fp),
struct _reent * ptr,
- char _CONST *__restrict s,
+ char const *__restrict s,
FILE *__restrict fp)
{
#ifdef _FVWRITE_IN_STREAMIO
@@ -109,7 +109,7 @@ _DEFUN(_fputs_r, (ptr, s, fp),
_newlib_flockfile_end (fp);
return result;
#else
- _CONST char *p = s;
+ const char *p = s;
CHECK_INIT(ptr, fp);
@@ -136,7 +136,7 @@ error:
#ifndef _REENT_ONLY
int
_DEFUN(fputs, (s, fp),
- char _CONST *__restrict s,
+ char const *__restrict s,
FILE *__restrict fp)
{
return _fputs_r (_REENT, s, fp);