aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio64
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:25:16 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:08 -0600
commit0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch)
treeb0efb851be762c4d530cc259070005318702321d /newlib/libc/stdio64
parent6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff)
downloadnewlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.zip
newlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.tar.gz
newlib-0bda30e1ffd23488aa4a9b73f228089463fbee1a.tar.bz2
ansification: remove _CONST
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio64')
-rw-r--r--newlib/libc/stdio64/fdopen64.c4
-rw-r--r--newlib/libc/stdio64/fopen64.c8
-rw-r--r--newlib/libc/stdio64/freopen64.c8
-rw-r--r--newlib/libc/stdio64/fsetpos64.c4
4 files changed, 12 insertions, 12 deletions
diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c
index 1a238f7..f0c3c07 100644
--- a/newlib/libc/stdio64/fdopen64.c
+++ b/newlib/libc/stdio64/fdopen64.c
@@ -38,7 +38,7 @@ FILE *
_DEFUN (_fdopen64_r, (ptr, fd, mode),
struct _reent *ptr,
int fd,
- _CONST char *mode)
+ const char *mode)
{
register FILE *fp;
int flags, oflags;
@@ -110,7 +110,7 @@ _DEFUN (_fdopen64_r, (ptr, fd, mode),
FILE *
_DEFUN (fdopen64, (fd, mode),
int fd,
- _CONST char *mode)
+ const char *mode)
{
return _fdopen64_r (_REENT, fd, mode);
}
diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c
index 7edb5d8..6bdf619 100644
--- a/newlib/libc/stdio64/fopen64.c
+++ b/newlib/libc/stdio64/fopen64.c
@@ -66,8 +66,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
FILE *
_DEFUN (_fopen64_r, (ptr, file, mode),
struct _reent *ptr,
- _CONST char *file,
- _CONST char *mode)
+ const char *file,
+ const char *mode)
{
register FILE *fp;
register int f;
@@ -118,8 +118,8 @@ _DEFUN (_fopen64_r, (ptr, file, mode),
FILE *
_DEFUN (fopen64, (file, mode),
- _CONST char *file,
- _CONST char *mode)
+ const char *file,
+ const char *mode)
{
return _fopen64_r (_REENT, file, mode);
}
diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c
index 6e42d0e..02995b9 100644
--- a/newlib/libc/stdio64/freopen64.c
+++ b/newlib/libc/stdio64/freopen64.c
@@ -77,8 +77,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
FILE *
_DEFUN (_freopen64_r, (ptr, file, mode, fp),
struct _reent *ptr,
- _CONST char *file,
- _CONST char *mode,
+ const char *file,
+ const char *mode,
register FILE *fp)
{
register int f;
@@ -248,8 +248,8 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp),
FILE *
_DEFUN (freopen64, (file, mode, fp),
- _CONST char *file,
- _CONST char *mode,
+ const char *file,
+ const char *mode,
register FILE *fp)
{
return _freopen64_r (_REENT, file, mode, fp);
diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c
index 9cfc107..f5f6bda 100644
--- a/newlib/libc/stdio64/fsetpos64.c
+++ b/newlib/libc/stdio64/fsetpos64.c
@@ -44,7 +44,7 @@ int
_DEFUN (_fsetpos64_r, (ptr, iop, pos),
struct _reent *ptr,
FILE * iop,
- _CONST _fpos64_t * pos)
+ const _fpos64_t * pos)
{
int x = _fseeko64_r (ptr, iop, (_off64_t)(*pos), SEEK_SET);
@@ -58,7 +58,7 @@ _DEFUN (_fsetpos64_r, (ptr, iop, pos),
int
_DEFUN (fsetpos64, (iop, pos),
FILE * iop,
- _CONST _fpos64_t * pos)
+ const _fpos64_t * pos)
{
return _fsetpos64_r (_REENT, iop, pos);
}