This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] C99 initializers for iconvdata files


Hi.

Here are more patches converting various files in iconvdata to use C99
initializers. 

2002-12-17  Art Haas  <ahaas@airmail.net>

	* iconvdata/cp737.h: Convert GCC extension initializer syntax to
	C99.
	* iconvdata/cp775.h: Likewise.
	* iconvdata/ibm1046.h: Likewise.
	* iconvdata/ibm1124.h: Likewise.
	* iconvdata/ibm1129.h: Likewise.
	* iconvdata/ibm1132.h: Likewise.
	* iconvdata/ibm1133.h: Likewise.
	* iconvdata/ibm1160.h: Likewise.
	* iconvdata/ibm1161.h: Likewise.
	* iconvdata/ibm1162.h: Likewise.
	* iconvdata/ibm1163.h: Likewise.
	* iconvdata/ibm1164.h: Likewise.

Index: iconvdata/cp737.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/cp737.h,v
retrieving revision 1.2
diff -u -r1.2 cp737.h
--- iconvdata/cp737.h	6 Jul 2001 04:54:49 -0000	1.2
+++ iconvdata/cp737.h	17 Dec 2002 16:28:59 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for CP737.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -295,25 +295,25 @@
  */
 static struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x007f, idx:     0 },
-  { start: 0x00a0, end: 0x00a0, idx:   -32 },
-  { start: 0x00b0, end: 0x00b7, idx:   -47 },
-  { start: 0x00f7, end: 0x00f7, idx:  -110 },
-  { start: 0x0386, end: 0x03ce, idx:  -764 },
-  { start: 0x207f, end: 0x207f, idx: -8108 },
-  { start: 0x2219, end: 0x221a, idx: -8517 },
-  { start: 0x2248, end: 0x2248, idx: -8562 },
-  { start: 0x2264, end: 0x2265, idx: -8589 },
-  { start: 0x2500, end: 0x2502, idx: -9255 },
-  { start: 0x250c, end: 0x251c, idx: -9264 },
-  { start: 0x2524, end: 0x2524, idx: -9271 },
-  { start: 0x252c, end: 0x252c, idx: -9278 },
-  { start: 0x2534, end: 0x2534, idx: -9285 },
-  { start: 0x253c, end: 0x253c, idx: -9292 },
-  { start: 0x2550, end: 0x256c, idx: -9311 },
-  { start: 0x2580, end: 0x2593, idx: -9330 },
-  { start: 0x25a0, end: 0x25a0, idx: -9342 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x007f, .idx =     0 },
+  { .start = 0x00a0, .end = 0x00a0, .idx =   -32 },
+  { .start = 0x00b0, .end = 0x00b7, .idx =   -47 },
+  { .start = 0x00f7, .end = 0x00f7, .idx =  -110 },
+  { .start = 0x0386, .end = 0x03ce, .idx =  -764 },
+  { .start = 0x207f, .end = 0x207f, .idx = -8108 },
+  { .start = 0x2219, .end = 0x221a, .idx = -8517 },
+  { .start = 0x2248, .end = 0x2248, .idx = -8562 },
+  { .start = 0x2264, .end = 0x2265, .idx = -8589 },
+  { .start = 0x2500, .end = 0x2502, .idx = -9255 },
+  { .start = 0x250c, .end = 0x251c, .idx = -9264 },
+  { .start = 0x2524, .end = 0x2524, .idx = -9271 },
+  { .start = 0x252c, .end = 0x252c, .idx = -9278 },
+  { .start = 0x2534, .end = 0x2534, .idx = -9285 },
+  { .start = 0x253c, .end = 0x253c, .idx = -9292 },
+  { .start = 0x2550, .end = 0x256c, .idx = -9311 },
+  { .start = 0x2580, .end = 0x2593, .idx = -9330 },
+  { .start = 0x25a0, .end = 0x25a0, .idx = -9342 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 /* Table accessed through above index table.  It can be generated using:
Index: iconvdata/cp775.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/cp775.h,v
retrieving revision 1.2
diff -u -r1.2 cp775.h
--- iconvdata/cp775.h	6 Jul 2001 04:54:49 -0000	1.2
+++ iconvdata/cp775.h	17 Dec 2002 16:28:59 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for CP775.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -295,28 +295,28 @@
  */
 static struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x007f, idx:     0 },
-  { start: 0x00a0, end: 0x00c9, idx:   -32 },
-  { start: 0x00d3, end: 0x00e9, idx:   -41 },
-  { start: 0x00f3, end: 0x0119, idx:   -50 },
-  { start: 0x0122, end: 0x0123, idx:   -58 },
-  { start: 0x012a, end: 0x012f, idx:   -64 },
-  { start: 0x0136, end: 0x014d, idx:   -70 },
-  { start: 0x0156, end: 0x0161, idx:   -78 },
-  { start: 0x016a, end: 0x016b, idx:   -86 },
-  { start: 0x0172, end: 0x017e, idx:   -92 },
-  { start: 0x2019, end: 0x201e, idx: -7926 },
-  { start: 0x2219, end: 0x2219, idx: -8432 },
-  { start: 0x2500, end: 0x2502, idx: -9174 },
-  { start: 0x250c, end: 0x251c, idx: -9183 },
-  { start: 0x2524, end: 0x2524, idx: -9190 },
-  { start: 0x252c, end: 0x252c, idx: -9197 },
-  { start: 0x2534, end: 0x2534, idx: -9204 },
-  { start: 0x253c, end: 0x253c, idx: -9211 },
-  { start: 0x2550, end: 0x256c, idx: -9230 },
-  { start: 0x2580, end: 0x2593, idx: -9249 },
-  { start: 0x25a0, end: 0x25a0, idx: -9261 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x007f, .idx =     0 },
+  { .start = 0x00a0, .end = 0x00c9, .idx =   -32 },
+  { .start = 0x00d3, .end = 0x00e9, .idx =   -41 },
+  { .start = 0x00f3, .end = 0x0119, .idx =   -50 },
+  { .start = 0x0122, .end = 0x0123, .idx =   -58 },
+  { .start = 0x012a, .end = 0x012f, .idx =   -64 },
+  { .start = 0x0136, .end = 0x014d, .idx =   -70 },
+  { .start = 0x0156, .end = 0x0161, .idx =   -78 },
+  { .start = 0x016a, .end = 0x016b, .idx =   -86 },
+  { .start = 0x0172, .end = 0x017e, .idx =   -92 },
+  { .start = 0x2019, .end = 0x201e, .idx = -7926 },
+  { .start = 0x2219, .end = 0x2219, .idx = -8432 },
+  { .start = 0x2500, .end = 0x2502, .idx = -9174 },
+  { .start = 0x250c, .end = 0x251c, .idx = -9183 },
+  { .start = 0x2524, .end = 0x2524, .idx = -9190 },
+  { .start = 0x252c, .end = 0x252c, .idx = -9197 },
+  { .start = 0x2534, .end = 0x2534, .idx = -9204 },
+  { .start = 0x253c, .end = 0x253c, .idx = -9211 },
+  { .start = 0x2550, .end = 0x256c, .idx = -9230 },
+  { .start = 0x2580, .end = 0x2593, .idx = -9249 },
+  { .start = 0x25a0, .end = 0x25a0, .idx = -9261 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 /* Table accessed through above index table.  It can be generated using:

Index: iconvdata/ibm1046.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1046.h,v
retrieving revision 1.3
diff -u -r1.3 ibm1046.h
--- iconvdata/ibm1046.h	29 Nov 2001 07:19:37 -0000	1.3
+++ iconvdata/ibm1046.h	17 Dec 2002 16:31:44 -0000
@@ -1,5 +1,5 @@
 /* Tables for conversion from and to IBM1046.
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>, 2000.
 
@@ -88,31 +88,31 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x007f, idx:      0 },
-  { start: 0x0088, end: 0x0088, idx:     -8 },
-  { start: 0x00a0, end: 0x00a0, idx:    -31 },
-  { start: 0x00a4, end: 0x00a4, idx:    -34 },
-  { start: 0x00ad, end: 0x00ad, idx:    -42 },
-  { start: 0x00d7, end: 0x00d7, idx:    -83 },
-  { start: 0x00f7, end: 0x00f7, idx:   -114 },
-  { start: 0x060c, end: 0x060c, idx:  -1414 },
-  { start: 0x061b, end: 0x061b, idx:  -1428 },
-  { start: 0x061f, end: 0x061f, idx:  -1431 },
-  { start: 0x0621, end: 0x063a, idx:  -1432 },
-  { start: 0x0640, end: 0x0652, idx:  -1437 },
-  { start: 0x0660, end: 0x066d, idx:  -1450 },
-  { start: 0x200b, end: 0x200b, idx:  -8007 },
-  { start: 0x2500, end: 0x2500, idx:  -9275 },
-  { start: 0x2502, end: 0x2502, idx:  -9276 },
-  { start: 0x250c, end: 0x250c, idx:  -9285 },
-  { start: 0x2510, end: 0x2510, idx:  -9288 },
-  { start: 0x2514, end: 0x2514, idx:  -9291 },
-  { start: 0x2518, end: 0x2518, idx:  -9294 },
-  { start: 0x25a0, end: 0x25a0, idx:  -9429 },
-  { start: 0xfe70, end: 0xfe72, idx: -64932 },
-  { start: 0xfe74, end: 0xfe74, idx: -64933 },
-  { start: 0xfe76, end: 0xfefc, idx: -64934 },
-  { start: 0xffff, end: 0xffff, idx:      0 }
+  { .start = 0x0000, .end = 0x007f, .idx =      0 },
+  { .start = 0x0088, .end = 0x0088, .idx =     -8 },
+  { .start = 0x00a0, .end = 0x00a0, .idx =    -31 },
+  { .start = 0x00a4, .end = 0x00a4, .idx =    -34 },
+  { .start = 0x00ad, .end = 0x00ad, .idx =    -42 },
+  { .start = 0x00d7, .end = 0x00d7, .idx =    -83 },
+  { .start = 0x00f7, .end = 0x00f7, .idx =   -114 },
+  { .start = 0x060c, .end = 0x060c, .idx =  -1414 },
+  { .start = 0x061b, .end = 0x061b, .idx =  -1428 },
+  { .start = 0x061f, .end = 0x061f, .idx =  -1431 },
+  { .start = 0x0621, .end = 0x063a, .idx =  -1432 },
+  { .start = 0x0640, .end = 0x0652, .idx =  -1437 },
+  { .start = 0x0660, .end = 0x066d, .idx =  -1450 },
+  { .start = 0x200b, .end = 0x200b, .idx =  -8007 },
+  { .start = 0x2500, .end = 0x2500, .idx =  -9275 },
+  { .start = 0x2502, .end = 0x2502, .idx =  -9276 },
+  { .start = 0x250c, .end = 0x250c, .idx =  -9285 },
+  { .start = 0x2510, .end = 0x2510, .idx =  -9288 },
+  { .start = 0x2514, .end = 0x2514, .idx =  -9291 },
+  { .start = 0x2518, .end = 0x2518, .idx =  -9294 },
+  { .start = 0x25a0, .end = 0x25a0, .idx =  -9429 },
+  { .start = 0xfe70, .end = 0xfe72, .idx = -64932 },
+  { .start = 0xfe74, .end = 0xfe74, .idx = -64933 },
+  { .start = 0xfe76, .end = 0xfefc, .idx = -64934 },
+  { .start = 0xffff, .end = 0xffff, .idx =      0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1124.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1124.h,v
retrieving revision 1.3
diff -u -r1.3 ibm1124.h
--- iconvdata/ibm1124.h	29 Nov 2001 07:19:37 -0000	1.3
+++ iconvdata/ibm1124.h	17 Dec 2002 16:31:44 -0000
@@ -1,5 +1,5 @@
 /* Conversion from and to IBM1124.
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2000.
 
@@ -88,12 +88,12 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x00a0, idx:     0 },
-  { start: 0x00a7, end: 0x00ad, idx:    -6 },
-  { start: 0x0401, end: 0x045f, idx:  -857 },
-  { start: 0x0490, end: 0x0491, idx:  -905 },
-  { start: 0x2116, end: 0x2116, idx: -8205 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x00a0, .idx =     0 },
+  { .start = 0x00a7, .end = 0x00ad, .idx =    -6 },
+  { .start = 0x0401, .end = 0x045f, .idx =  -857 },
+  { .start = 0x0490, .end = 0x0491, .idx =  -905 },
+  { .start = 0x2116, .end = 0x2116, .idx = -8205 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1129.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1129.h,v
retrieving revision 1.3
diff -u -r1.3 ibm1129.h
--- iconvdata/ibm1129.h	5 Dec 2001 19:08:45 -0000	1.3
+++ iconvdata/ibm1129.h	17 Dec 2002 16:31:45 -0000
@@ -1,5 +1,5 @@
 /* Conversion from and to IBM1129.
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2000.
 
@@ -88,16 +88,16 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x0103, idx:     0 },
-  { start: 0x0110, end: 0x0111, idx:   -12 },
-  { start: 0x0152, end: 0x0153, idx:   -76 },
-  { start: 0x0178, end: 0x0178, idx:  -112 },
-  { start: 0x01a0, end: 0x01a1, idx:  -151 },
-  { start: 0x01af, end: 0x01b0, idx:  -164 },
-  { start: 0x0300, end: 0x0309, idx:  -499 },
-  { start: 0x0323, end: 0x0323, idx:  -524 },
-  { start: 0x20ab, end: 0x20ab, idx: -8083 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x0103, .idx =     0 },
+  { .start = 0x0110, .end = 0x0111, .idx =   -12 },
+  { .start = 0x0152, .end = 0x0153, .idx =   -76 },
+  { .start = 0x0178, .end = 0x0178, .idx =  -112 },
+  { .start = 0x01a0, .end = 0x01a1, .idx =  -151 },
+  { .start = 0x01af, .end = 0x01b0, .idx =  -164 },
+  { .start = 0x0300, .end = 0x0309, .idx =  -499 },
+  { .start = 0x0323, .end = 0x0323, .idx =  -524 },
+  { .start = 0x20ab, .end = 0x20ab, .idx = -8083 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1132.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1132.h,v
retrieving revision 1.2
diff -u -r1.2 ibm1132.h
--- iconvdata/ibm1132.h	29 Nov 2001 07:19:37 -0000	1.2
+++ iconvdata/ibm1132.h	17 Dec 2002 16:31:46 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1132.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -82,10 +82,10 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x00ac, idx:     0 },
-  { start: 0x0e81, end: 0x0e8d, idx: -3540 },
-  { start: 0x0e94, end: 0x0edd, idx: -3546 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x00ac, .idx =     0 },
+  { .start = 0x0e81, .end = 0x0e8d, .idx = -3540 },
+  { .start = 0x0e94, .end = 0x0edd, .idx = -3546 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1133.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1133.h,v
retrieving revision 1.2
diff -u -r1.2 ibm1133.h
--- iconvdata/ibm1133.h	29 Nov 2001 07:19:37 -0000	1.2
+++ iconvdata/ibm1133.h	17 Dec 2002 16:31:46 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1133.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -82,10 +82,10 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x00ac, idx:     0 },
-  { start: 0x0e81, end: 0x0e8d, idx: -3540 },
-  { start: 0x0e94, end: 0x0edd, idx: -3546 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x00ac, .idx =     0 },
+  { .start = 0x0e81, .end = 0x0e8d, .idx = -3540 },
+  { .start = 0x0e94, .end = 0x0edd, .idx = -3546 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1160.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1160.h,v
retrieving revision 1.2
diff -u -r1.2 ibm1160.h
--- iconvdata/ibm1160.h	29 Nov 2001 07:19:37 -0000	1.2
+++ iconvdata/ibm1160.h	17 Dec 2002 16:31:46 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1160.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -88,10 +88,10 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x00ac, idx:     0 },
-  { start: 0x0e01, end: 0x0e5b, idx: -3412 },
-  { start: 0x20ac, end: 0x20ac, idx: -8100 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x00ac, .idx =     0 },
+  { .start = 0x0e01, .end = 0x0e5b, .idx = -3412 },
+  { .start = 0x20ac, .end = 0x20ac, .idx = -8100 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1161.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1161.h,v
retrieving revision 1.2
diff -u -r1.2 ibm1161.h
--- iconvdata/ibm1161.h	29 Nov 2001 07:19:37 -0000	1.2
+++ iconvdata/ibm1161.h	17 Dec 2002 16:31:47 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1161.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -80,11 +80,11 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x007f, idx:     0 },
-  { start: 0x00a0, end: 0x00ac, idx:   -32 },
-  { start: 0x0e01, end: 0x0e5b, idx: -3444 },
-  { start: 0x20ac, end: 0x20ac, idx: -8132 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x007f, .idx =     0 },
+  { .start = 0x00a0, .end = 0x00ac, .idx =   -32 },
+  { .start = 0x0e01, .end = 0x0e5b, .idx = -3444 },
+  { .start = 0x20ac, .end = 0x20ac, .idx = -8132 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1162.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1162.h,v
retrieving revision 1.2
diff -u -r1.2 ibm1162.h
--- iconvdata/ibm1162.h	29 Nov 2001 07:19:37 -0000	1.2
+++ iconvdata/ibm1162.h	17 Dec 2002 16:31:47 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1162.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -86,12 +86,12 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x0090, idx:     0 },
-  { start: 0x0098, end: 0x00a0, idx:    -7 },
-  { start: 0x0e01, end: 0x0e5b, idx: -3431 },
-  { start: 0x2013, end: 0x2026, idx: -7966 },
-  { start: 0x20ac, end: 0x20ac, idx: -8099 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x0090, .idx =     0 },
+  { .start = 0x0098, .end = 0x00a0, .idx =    -7 },
+  { .start = 0x0e01, .end = 0x0e5b, .idx = -3431 },
+  { .start = 0x2013, .end = 0x2026, .idx = -7966 },
+  { .start = 0x20ac, .end = 0x20ac, .idx = -8099 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1163.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1163.h,v
retrieving revision 1.1
diff -u -r1.1 ibm1163.h
--- iconvdata/ibm1163.h	29 Nov 2001 06:55:27 -0000	1.1
+++ iconvdata/ibm1163.h	17 Dec 2002 16:31:47 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1163.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -88,17 +88,17 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x0103, idx:     0 },
-  { start: 0x0110, end: 0x0111, idx:   -12 },
-  { start: 0x0152, end: 0x0153, idx:   -76 },
-  { start: 0x0178, end: 0x0178, idx:  -112 },
-  { start: 0x01a0, end: 0x01a1, idx:  -151 },
-  { start: 0x01af, end: 0x01b0, idx:  -164 },
-  { start: 0x0300, end: 0x0309, idx:  -499 },
-  { start: 0x0323, end: 0x0323, idx:  -524 },
-  { start: 0x203e, end: 0x203e, idx: -7974 },
-  { start: 0x20ab, end: 0x20ac, idx: -8082 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x0103, .idx =     0 },
+  { .start = 0x0110, .end = 0x0111, .idx =   -12 },
+  { .start = 0x0152, .end = 0x0153, .idx =   -76 },
+  { .start = 0x0178, .end = 0x0178, .idx =  -112 },
+  { .start = 0x01a0, .end = 0x01a1, .idx =  -151 },
+  { .start = 0x01af, .end = 0x01b0, .idx =  -164 },
+  { .start = 0x0300, .end = 0x0309, .idx =  -499 },
+  { .start = 0x0323, .end = 0x0323, .idx =  -524 },
+  { .start = 0x203e, .end = 0x203e, .idx = -7974 },
+  { .start = 0x20ab, .end = 0x20ac, .idx = -8082 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
Index: iconvdata/ibm1164.h
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/ibm1164.h,v
retrieving revision 1.1
diff -u -r1.1 ibm1164.h
--- iconvdata/ibm1164.h	29 Nov 2001 06:55:13 -0000	1.1
+++ iconvdata/ibm1164.h	17 Dec 2002 16:31:48 -0000
@@ -1,5 +1,5 @@
 /* Mapping table for IBM1164.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
 
@@ -88,17 +88,17 @@
 
 static const struct gap from_idx[] =
 {
-  { start: 0x0000, end: 0x0103, idx:     0 },
-  { start: 0x0110, end: 0x0111, idx:   -12 },
-  { start: 0x0152, end: 0x0153, idx:   -76 },
-  { start: 0x0178, end: 0x0178, idx:  -112 },
-  { start: 0x01a0, end: 0x01a1, idx:  -151 },
-  { start: 0x01af, end: 0x01b0, idx:  -164 },
-  { start: 0x0300, end: 0x0309, idx:  -499 },
-  { start: 0x0323, end: 0x0323, idx:  -524 },
-  { start: 0x203e, end: 0x203e, idx: -7974 },
-  { start: 0x20ab, end: 0x20ac, idx: -8082 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x0103, .idx =     0 },
+  { .start = 0x0110, .end = 0x0111, .idx =   -12 },
+  { .start = 0x0152, .end = 0x0153, .idx =   -76 },
+  { .start = 0x0178, .end = 0x0178, .idx =  -112 },
+  { .start = 0x01a0, .end = 0x01a1, .idx =  -151 },
+  { .start = 0x01af, .end = 0x01b0, .idx =  -164 },
+  { .start = 0x0300, .end = 0x0309, .idx =  -499 },
+  { .start = 0x0323, .end = 0x0323, .idx =  -524 },
+  { .start = 0x203e, .end = 0x203e, .idx = -7974 },
+  { .start = 0x20ab, .end = 0x20ac, .idx = -8082 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char from_ucs4[] =
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]