diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 18:56:13 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 18:57:13 +0000 |
commit | 82dd75a7f436a19047325d62182590c9f9e23a78 (patch) | |
tree | 60ca20c8cf2b0d178d84725c0715471f76df97e1 /wctype/wcfuncs_l.c | |
parent | 0bbb676a2342367c4e52b35e890f24667dabb348 (diff) | |
parent | 963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff) |
Merge commit 'refs/top-bases/t/tls' into t/tls
Diffstat (limited to 'wctype/wcfuncs_l.c')
-rw-r--r-- | wctype/wcfuncs_l.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wctype/wcfuncs_l.c b/wctype/wcfuncs_l.c index 5d8ef73598..8befbd1e9a 100644 --- a/wctype/wcfuncs_l.c +++ b/wctype/wcfuncs_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996-2016 Free Software Foundation, Inc. +/* Copyright (C) 1996-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,7 +27,7 @@ /* Provide real-function versions of all the wctype macros. */ #define func(name, type) \ - int __isw##name (wint_t wc, __locale_t locale) \ + int __isw##name (wint_t wc, locale_t locale) \ { \ if (isascii (wc)) \ return is##name ((int) wc, locale); \ @@ -54,7 +54,7 @@ func (upper_l, __ISwupper) func (xdigit_l, __ISwxdigit) wint_t -(__towlower_l) (wint_t wc, __locale_t locale) +(__towlower_l) (wint_t wc, locale_t locale) { size_t i = locale->__locales[LC_CTYPE]->values[_NL_ITEM_INDEX (_NL_CTYPE_MAP_OFFSET)].word + __TOW_tolower; const char *desc = locale->__locales[LC_CTYPE]->values[i].string; @@ -64,7 +64,7 @@ libc_hidden_def (__towlower_l) weak_alias (__towlower_l, towlower_l) wint_t -(__towupper_l) (wint_t wc, __locale_t locale) +(__towupper_l) (wint_t wc, locale_t locale) { size_t i = locale->__locales[LC_CTYPE]->values[_NL_ITEM_INDEX (_NL_CTYPE_MAP_OFFSET)].word + __TOW_toupper; const char *desc = locale->__locales[LC_CTYPE]->values[i].string; |