diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 20:25:16 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:08 -0600 |
commit | 0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch) | |
tree | b0efb851be762c4d530cc259070005318702321d /newlib/libc/reent | |
parent | 6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff) | |
download | newlib-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/reent')
-rw-r--r-- | newlib/libc/reent/execr.c | 6 | ||||
-rw-r--r-- | newlib/libc/reent/impure.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/linkr.c | 4 | ||||
-rw-r--r-- | newlib/libc/reent/mkdirr.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/open64r.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/openr.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/renamer.c | 4 | ||||
-rw-r--r-- | newlib/libc/reent/stat64r.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/statr.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/unlinkr.c | 2 | ||||
-rw-r--r-- | newlib/libc/reent/writer.c | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c index cb78fba..0dc5313 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 f5918c8..76f6745 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 59113d2..5e85f2d 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 4c2c94f..dca20dc 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 6b39fa1..84bd67e 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 f38ff84..33ace75 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 e55c2f2..736c1a3 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 134ca82..2077c0a 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 2b271e1..fb27ab0 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 eb000be..0ef0ff5 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 4e06d74..4c4f95f 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; |