diff options
author | Will Newton <will.newton@linaro.org> | 2014-07-10 09:18:03 +0100 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-07-17 10:16:09 +0100 |
commit | 32bead5b6d6edc4421a8ca628ce7dc14d435202a (patch) | |
tree | 23cc0513a890752687c5ba65486440c10ed80d43 /math/s_catanl.c | |
parent | 37fccd41923a26bb1c3e083b8bc5e398e77a24d1 (diff) | |
download | glibc-32bead5b6d6edc4421a8ca628ce7dc14d435202a.tar.gz glibc-32bead5b6d6edc4421a8ca628ce7dc14d435202a.tar.xz glibc-32bead5b6d6edc4421a8ca628ce7dc14d435202a.zip |
iconv/loop.c: Fix -Wundef warning with !_STRING_ARCH_unaligned
If code is required to handle the unaligned case then loop.c includes itself and relies on the #undefs at the end of the file to avoid outputting two copies of LOOPFCT and gconv_btowc. However MAX_NEEDED_INPUT is tested with #if so this causes a warning. Reorder the code so that the function definitions are in an #else block to make the behaviour clearer and fix the warning. Verified that code is unchanged on x86_64 and arm. ChangeLog: 2014-07-17 Will Newton <will.newton@linaro.org> * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc into an #else block.
Diffstat (limited to 'math/s_catanl.c')
0 files changed, 0 insertions, 0 deletions