Submitted By: Uwe Düffert (lfs at uwe-dueffert dot de)
Date: 2005-09-04
Initial Package Version: 2.3-20050822
Origin: self-created, http://www.uwe-dueffert.de/lfs/ownpatches/glibc-2.3.5-gcc41_jis208-1.patch
Upstream Status: not reported
Description: allow compilation of jis0208.c with gcc-4.1
 
diff -Naur glibc-2.3-20050822.orig/iconvdata/jis0208.h glibc-2.3-20050822/iconvdata/jis0208.h
--- glibc-2.3-20050822.orig/iconvdata/jis0208.h	2005-09-04 19:42:48.000000000 +0200
+++ glibc-2.3-20050822/iconvdata/jis0208.h	2005-09-04 19:43:27.000000000 +0200
@@ -27,12 +27,6 @@
 /* Conversion table.  */
 extern const uint16_t __jis0208_to_ucs[];
 
-extern const char __jisx0208_from_ucs4_lat1[256][2];
-extern const char __jisx0208_from_ucs4_greek[0xc1][2];
-extern const struct jisx0208_ucs_idx __jisx0208_from_ucs_idx[];
-extern const char __jisx0208_from_ucs_tab[][2];
-
-
 /* Struct for table with indeces in UCS mapping table.  */
 struct jisx0208_ucs_idx
 {
@@ -42,6 +36,12 @@
 };
 
 
+extern const char __jisx0208_from_ucs4_lat1[256][2];
+extern const char __jisx0208_from_ucs4_greek[0xc1][2];
+extern const struct jisx0208_ucs_idx __jisx0208_from_ucs_idx[];
+extern const char __jisx0208_from_ucs_tab[][2];
+
+
 static inline uint32_t
 __attribute ((always_inline))
 jisx0208_to_ucs4 (const unsigned char **s, size_t avail, unsigned char offset)
