]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[PATCH] S390: Fix remaining ONE_DIRECTION warning messages
authorStefan Liebler <stli@linux.vnet.ibm.com>
Thu, 31 Jul 2014 18:10:47 +0000 (20:10 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 31 Jul 2014 18:10:47 +0000 (20:10 +0200)
This patch fixes the remaining ONE_DIRECTION warnings for s390 specific conversions.
It defines ONE_DIRECTION to 0 like the patch from Steve Ellcey:
https://www.sourceware.org/ml/libc-alpha/2014-05/msg00039.html

    Changelog:
    * sysdeps/s390/s390-64/utf16-utf32-z9.c
    (ONE_DIRECTION): Define.
    * sysdeps/s390/s390-64/utf8-utf16-z9.c
    (ONE_DIRECTION): Define.
    * sysdeps/s390/s390-64/utf8-utf32-z9.c
    (ONE_DIRECTION): Define.

ChangeLog
sysdeps/s390/s390-64/utf16-utf32-z9.c
sysdeps/s390/s390-64/utf8-utf16-z9.c
sysdeps/s390/s390-64/utf8-utf32-z9.c

index ac65fd0b65f417c1e979c06abc4ab3162d3f54bb..de363a6009fc4e9fcbbb4e74829772954a5b0200 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/s390/s390-64/utf16-utf32-z9.c
+       (ONE_DIRECTION): Define.
+       * sysdeps/s390/s390-64/utf8-utf16-z9.c
+       (ONE_DIRECTION): Define.
+       * sysdeps/s390/s390-64/utf8-utf32-z9.c
+       (ONE_DIRECTION): Define.
+
 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
        * sysdeps/s390/Makefile: Delete file.
index 11a098fa99b33a83ebb77c5fbeec96ae37dc5a72..101f574fa1055a63b20ce63aca3d34fb0d125d51 100644 (file)
@@ -44,6 +44,7 @@
 #define FROM_LOOP              from_utf16_loop
 #define TO_LOOP                        to_utf16_loop
 #define FROM_DIRECTION         (dir == from_utf16)
+#define ONE_DIRECTION           0
 #define PREPARE_LOOP                                                   \
   enum direction dir = ((struct utf16_data *) step->__data)->dir;      \
   int emit_bom = ((struct utf16_data *) step->__data)->emit_bom;       \
index 74754211c1286b3b91403a50dc8e6bf62577a636..4155187b97f18760a0519bc6caac5f2135e631cf 100644 (file)
@@ -42,6 +42,7 @@
 #define FROM_LOOP              from_utf8_loop
 #define TO_LOOP                        to_utf8_loop
 #define FROM_DIRECTION         (dir == from_utf8)
+#define ONE_DIRECTION           0
 #define PREPARE_LOOP                                                   \
   enum direction dir = ((struct utf8_data *) step->__data)->dir;       \
   int emit_bom = ((struct utf8_data *) step->__data)->emit_bom;                \
index cb74f34075f17a84649daa6f179754c6fda5e3b1..3c0296eaa7d8fcbdd7e4b18ba3cff5821bdcccb3 100644 (file)
@@ -44,6 +44,7 @@
 #define FROM_LOOP              from_utf8_loop
 #define TO_LOOP                        to_utf8_loop
 #define FROM_DIRECTION         (dir == from_utf8)
+#define ONE_DIRECTION           0
 #define PREPARE_LOOP                                                   \
   enum direction dir = ((struct utf8_data *) step->__data)->dir;       \
   int emit_bom = ((struct utf8_data *) step->__data)->emit_bom;                \