diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-09-11 16:02:17 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-09-11 16:02:17 -0700 |
commit | 8c0ab919f63dc03a420751172602a52d2bea59a8 (patch) | |
tree | a196619b2a14716dd6896b2dc26c5719940a0e6a /string/strxfrm_l.c | |
parent | 52ffbdf25a1100986f4ae27bb0febbe5a722ab25 (diff) | |
download | glibc-8c0ab919f63dc03a420751172602a52d2bea59a8.zip glibc-8c0ab919f63dc03a420751172602a52d2bea59a8.tar.gz glibc-8c0ab919f63dc03a420751172602a52d2bea59a8.tar.bz2 |
Move findidx nested functions to top-level.
Diffstat (limited to 'string/strxfrm_l.c')
-rw-r--r-- | string/strxfrm_l.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/string/strxfrm_l.c b/string/strxfrm_l.c index 04b9338..2d3f1bd 100644 --- a/string/strxfrm_l.c +++ b/string/strxfrm_l.c @@ -41,6 +41,7 @@ #define CONCAT1(a,b) a##b #include "../locale/localeinfo.h" +#include WEIGHT_H #ifndef WIDE_CHAR_VERSION @@ -104,8 +105,6 @@ STRXFRM (STRING_TYPE *dest, const STRING_TYPE *src, size_t n, __locale_t l) size_t idxcnt; int use_malloc; -#include WEIGHT_H - if (nrules == 0) { if (n != 0) @@ -174,7 +173,7 @@ STRXFRM (STRING_TYPE *dest, const STRING_TYPE *src, size_t n, __locale_t l) idxmax = 0; do { - int32_t tmp = findidx (&usrc, -1); + int32_t tmp = findidx (table, indirect, extra, &usrc, -1); rulearr[idxmax] = tmp >> 24; idxarr[idxmax] = tmp & 0xffffff; |