aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/wcwidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/wcwidth.c')
-rw-r--r--newlib/libc/string/wcwidth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/wcwidth.c b/newlib/libc/string/wcwidth.c
index acb15d0..a8c73a5 100644
--- a/newlib/libc/string/wcwidth.c
+++ b/newlib/libc/string/wcwidth.c
@@ -164,7 +164,7 @@ bisearch(wint_t ucs, const struct interval *table, int max)
int
_DEFUN (__wcwidth, (ucs),
- _CONST wint_t ucs)
+ const wint_t ucs)
{
#ifdef _MB_CAPABLE
/* sorted list of non-overlapping intervals of East Asian Ambiguous
@@ -330,7 +330,7 @@ _DEFUN (__wcwidth, (ucs),
int
_DEFUN (wcwidth, (wc),
- _CONST wchar_t wc)
+ const wchar_t wc)
{
wint_t wi = wc;