diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-04 05:25:16 +0300 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 20:47:08 +0300 |
commit | 0bda30e1ffd23488aa4a9b73f228089463fbee1a (patch) | |
tree | b0efb851be762c4d530cc259070005318702321d /newlib/libm | |
parent | 6783860a2e4e4183c073f62e4bb938cea0e096c3 (diff) |
ansification: remove _CONST
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/test/string.c | 2 | ||||
-rw-r--r-- | newlib/libm/test/test.c | 4 | ||||
-rw-r--r-- | newlib/libm/test/test.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libm/test/string.c b/newlib/libm/test/string.c index e97dfcc62..e66117fb6 100644 --- a/newlib/libm/test/string.c +++ b/newlib/libm/test/string.c @@ -3,7 +3,7 @@ #include <errno.h> -_CONST char *it = "<UNSET>"; /* Routine name for message routines. */ +const char *it = "<UNSET>"; /* Routine name for message routines. */ int errors = 0; /* Complain if condition is not true. */ diff --git a/newlib/libm/test/test.c b/newlib/libm/test/test.c index b25e4b963..365c4c843 100644 --- a/newlib/libm/test/test.c +++ b/newlib/libm/test/test.c @@ -55,10 +55,10 @@ bt(); } -static _CONST char *iname = "foo"; +static const char *iname = "foo"; void _DEFUN(newfunc,(string), - _CONST char *string) + const char *string) { if (strcmp(iname, string)) { diff --git a/newlib/libm/test/test.h b/newlib/libm/test/test.h index f58fcc96d..440c3850e 100644 --- a/newlib/libm/test/test.h +++ b/newlib/libm/test/test.h @@ -142,4 +142,4 @@ void _EXFUN(test_iok, (int, int)); void _EXFUN(test_eok, (int, int)); void _EXFUN(test_sok, (char *, char*)); void _EXFUN(test_scok, (char *, char*, int)); -void _EXFUN(newfunc,(_CONST char *)); +void _EXFUN(newfunc,(const char *)); |