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:25:16 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:08 +0300
commit0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch)
treeb0efb851be762c4d530cc259070005318702321d /newlib/libc/reent
parent6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff)
ansification: remove _CONST
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r--newlib/libc/reent/execr.c6
-rw-r--r--newlib/libc/reent/impure.c2
-rw-r--r--newlib/libc/reent/linkr.c4
-rw-r--r--newlib/libc/reent/mkdirr.c2
-rw-r--r--newlib/libc/reent/open64r.c2
-rw-r--r--newlib/libc/reent/openr.c2
-rw-r--r--newlib/libc/reent/renamer.c4
-rw-r--r--newlib/libc/reent/stat64r.c2
-rw-r--r--newlib/libc/reent/statr.c2
-rw-r--r--newlib/libc/reent/unlinkr.c2
-rw-r--r--newlib/libc/reent/writer.c2
11 files changed, 15 insertions, 15 deletions
diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c
index cb78fba76..0dc531384 100644
--- a/newlib/libc/reent/execr.c
+++ b/newlib/libc/reent/execr.c
@@ -47,9 +47,9 @@ DESCRIPTION
int
_DEFUN (_execve_r, (ptr, name, argv, env),
struct _reent *ptr,
- _CONST char *name,
- char *_CONST argv[],
- char *_CONST env[])
+ const char *name,
+ char *const argv[],
+ char *const env[])
{
int ret;
diff --git a/newlib/libc/reent/impure.c b/newlib/libc/reent/impure.c
index f5918c88f..76f67459e 100644
--- a/newlib/libc/reent/impure.c
+++ b/newlib/libc/reent/impure.c
@@ -25,4 +25,4 @@ static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure
extern struct _reent reent_data __attribute__ ((alias("impure_data")));
#endif
struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data;
-struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &impure_data;
+struct _reent *const __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &impure_data;
diff --git a/newlib/libc/reent/linkr.c b/newlib/libc/reent/linkr.c
index 59113d26e..5e85f2d2e 100644
--- a/newlib/libc/reent/linkr.c
+++ b/newlib/libc/reent/linkr.c
@@ -45,8 +45,8 @@ DESCRIPTION
int
_DEFUN (_link_r, (ptr, old, new),
struct _reent *ptr,
- _CONST char *old,
- _CONST char *new)
+ const char *old,
+ const char *new)
{
int ret;
diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c
index 4c2c94f9c..dca20dc2c 100644
--- a/newlib/libc/reent/mkdirr.c
+++ b/newlib/libc/reent/mkdirr.c
@@ -42,7 +42,7 @@ DESCRIPTION
int
_DEFUN (_mkdir_r, (ptr, path, mode),
struct _reent *ptr,
- _CONST char *path,
+ const char *path,
int mode)
{
int ret;
diff --git a/newlib/libc/reent/open64r.c b/newlib/libc/reent/open64r.c
index 6b39fa1fd..84bd67e34 100644
--- a/newlib/libc/reent/open64r.c
+++ b/newlib/libc/reent/open64r.c
@@ -44,7 +44,7 @@ DESCRIPTION
int
_open64_r (ptr, file, flags, mode)
struct _reent *ptr;
- _CONST char *file;
+ const char *file;
int flags;
int mode;
{
diff --git a/newlib/libc/reent/openr.c b/newlib/libc/reent/openr.c
index f38ff8458..33ace75ad 100644
--- a/newlib/libc/reent/openr.c
+++ b/newlib/libc/reent/openr.c
@@ -41,7 +41,7 @@ DESCRIPTION
int
_DEFUN (_open_r, (ptr, file, flags, mode),
struct _reent *ptr,
- _CONST char *file,
+ const char *file,
int flags,
int mode)
{
diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c
index e55c2f291..736c1a30f 100644
--- a/newlib/libc/reent/renamer.c
+++ b/newlib/libc/reent/renamer.c
@@ -42,8 +42,8 @@ DESCRIPTION
int
_DEFUN (_rename_r, (ptr, old, new),
struct _reent *ptr,
- _CONST char *old,
- _CONST char *new)
+ const char *old,
+ const char *new)
{
int ret = 0;
diff --git a/newlib/libc/reent/stat64r.c b/newlib/libc/reent/stat64r.c
index 134ca82ef..2077c0a2e 100644
--- a/newlib/libc/reent/stat64r.c
+++ b/newlib/libc/reent/stat64r.c
@@ -47,7 +47,7 @@ DESCRIPTION
int
_DEFUN (_stat64_r, (ptr, file, pstat),
struct _reent *ptr,
- _CONST char *file,
+ const char *file,
struct stat64 *pstat)
{
int ret;
diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c
index 2b271e10f..fb27ab0c0 100644
--- a/newlib/libc/reent/statr.c
+++ b/newlib/libc/reent/statr.c
@@ -47,7 +47,7 @@ DESCRIPTION
int
_DEFUN (_stat_r, (ptr, file, pstat),
struct _reent *ptr,
- _CONST char *file,
+ const char *file,
struct stat *pstat)
{
int ret;
diff --git a/newlib/libc/reent/unlinkr.c b/newlib/libc/reent/unlinkr.c
index eb000be15..0ef0ff56e 100644
--- a/newlib/libc/reent/unlinkr.c
+++ b/newlib/libc/reent/unlinkr.c
@@ -40,7 +40,7 @@ DESCRIPTION
int
_DEFUN (_unlink_r, (ptr, file),
struct _reent *ptr,
- _CONST char *file)
+ const char *file)
{
int ret;
diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c
index 4e06d74ef..4c4f95f77 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 _PTR buf,
size_t cnt)
{
_ssize_t ret;