about summary refs log tree commit diff
path: root/localedata/tests-mbwc/dat_mbtowc.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-08 15:02:58 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-08 15:02:58 +0530
commit7c33f1e52c7ed39416b24c894e61d39eabf6cd14 (patch)
tree4f19bb24fde0dfd9cd02bd1e87dd75a42dd6cce0 /localedata/tests-mbwc/dat_mbtowc.c
parent87868c2418fb74357757e3b739ce5b76b17a8929 (diff)
downloadglibc-7c33f1e52c7ed39416b24c894e61d39eabf6cd14.tar.gz
glibc-7c33f1e52c7ed39416b24c894e61d39eabf6cd14.tar.xz
glibc-7c33f1e52c7ed39416b24c894e61d39eabf6cd14.zip
Fix Wundef warning with SHOJI_IS_RIGHT
The macro is not defined anywhere, so it looks like we're convinced
that Shoji is wrong :)
Diffstat (limited to 'localedata/tests-mbwc/dat_mbtowc.c')
-rw-r--r--localedata/tests-mbwc/dat_mbtowc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/localedata/tests-mbwc/dat_mbtowc.c b/localedata/tests-mbwc/dat_mbtowc.c
index 95edb684d3..ee2bdcb74b 100644
--- a/localedata/tests-mbwc/dat_mbtowc.c
+++ b/localedata/tests-mbwc/dat_mbtowc.c
@@ -248,12 +248,8 @@ TST_MBTOWC tst_mbtowc_loc [] = {
 	},
 	{
 	  {
-#ifdef SHOJI_IS_RIGHT
-	    { EILSEQ,  1, -1,   0x0000 },
-#else
 	    /* XXX EILSEQ was introduced in ISO C99.  */
 	    { 0,	  1, -1,   0x0000 },
-#endif
 	    { 0,       1,  2,   0x3042 },
 	    { 0,       1,  2,   0x3042 },
 	  }
@@ -270,11 +266,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
 	{
 	  {
 	    { 0,  1, +1,   0x007F },
-#ifdef SHOJI_IS_RIGHT
-	    { EILSEQ,  1, -1,   0x0000 },
-#else
 	    { 0,  1, -1,   0x0000 },
-#endif
 	    { 0,  1, +1,   0x0081 },
 	  }
 	}
@@ -290,12 +282,8 @@ TST_MBTOWC tst_mbtowc_loc [] = {
 	{
 	  {
 	    { 0,  1,  0,   0x0000 },
-#ifdef SHOJI_IS_RIGHT
-	    { EILSEQ,  1, -1,   0x0000 },
-#else
 	    /* XXX EILSEQ was introduced in ISO C99.  */
 	    { 0,       1, -1,   0x0000 },
-#endif
 	    { 0,  1,  2,   0x0000 },
 	  }
 	}