summaryrefslogtreecommitdiffstats
path: root/libcxx/src/support
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-10-18 16:54:54 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-10-18 16:54:54 +0000
commit376548c34c705119d3b9312338cd238a926551b7 (patch)
tree2bab75fce2489140b41c2d69a499388e1fabd4a6 /libcxx/src/support
parentefc536ee9d2347700cb0ff76f2c16d121a7adbb4 (diff)
downloadbcm5719-llvm-376548c34c705119d3b9312338cd238a926551b7.tar.gz
bcm5719-llvm-376548c34c705119d3b9312338cd238a926551b7.zip
[solaris] Fix iswxdigit_l() support function prototype
Fix the iswxdigit_l() function prototype to take wint_t parameter instead of incorrect wchar_t. Differential Revision: https://reviews.llvm.org/D25431 llvm-svn: 284493
Diffstat (limited to 'libcxx/src/support')
-rw-r--r--libcxx/src/support/solaris/xlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/support/solaris/xlocale.c b/libcxx/src/support/solaris/xlocale.c
index 9125eea7377..802829c9ead 100644
--- a/libcxx/src/support/solaris/xlocale.c
+++ b/libcxx/src/support/solaris/xlocale.c
@@ -19,7 +19,7 @@ int isxdigit_l(int __c, locale_t __l) {
return isxdigit(__c);
}
-int iswxdigit_l(wchar_t __c, locale_t __l) {
+int iswxdigit_l(wint_t __c, locale_t __l) {
return isxdigit(__c);
}
OpenPOWER on IntegriCloud