aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-07-10 09:18:03 +0100
committerWill Newton <will.newton@linaro.org>2014-07-17 10:16:09 +0100
commit32bead5b6d6edc4421a8ca628ce7dc14d435202a (patch)
tree23cc0513a890752687c5ba65486440c10ed80d43 /ChangeLog
parent37fccd41923a26bb1c3e083b8bc5e398e77a24d1 (diff)
downloadglibc-32bead5b6d6edc4421a8ca628ce7dc14d435202a.tar
glibc-32bead5b6d6edc4421a8ca628ce7dc14d435202a.tar.gz
glibc-32bead5b6d6edc4421a8ca628ce7dc14d435202a.tar.bz2
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 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index afe5f84c99..9c9b2c3a3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-17 Will Newton <will.newton@linaro.org>
+
+ * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
+ into an #else block.
+
2014-07-16 Roland McGrath <roland@hack.frob.com>
* sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not