From 0274d73c41a807eeb10866f5211d727a5bc51b5c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 16 Dec 2002 02:05:36 +0000 Subject: * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. * iconvdata/gap.awk: Likewise. * iconvdata/gen-8bit-gap-1.sh: Likewise. * iconvdata/gen-8bit-gap.sh: Likewise. * locale/C-address.c: Likewise. * locale/C-collate.c: Likewise. * locale/C-ctype.c: Likewise. * locale/C-identification.c: Likewise. * locale/C-measurement.c: Likewise. * locale/C-messages.c: Likewise. * locale/C-monetary.c: Likewise. * locale/C-name.c: Likewise. * locale/C-numeric.c: Likewise. * locale/C-paper.c: Likewise. * locale/C-telephone.c: Likewise. * locale/C-time.c: Likewise. * nscd/connections.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdlib/random.c: Likewise. * sysdeps/generic/siglist.c: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/ieee754/bits/nan.h: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/usleep.c: Likewise. --- iconvdata/gap.awk | 4 ++-- iconvdata/gen-8bit-gap-1.sh | 2 +- iconvdata/gen-8bit-gap.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'iconvdata') diff --git a/iconvdata/gap.awk b/iconvdata/gap.awk index 583d22bed9..6c5ef51a04 100644 --- a/iconvdata/gap.awk +++ b/iconvdata/gap.awk @@ -26,7 +26,7 @@ function tonum(str) { if (last) { - printf (" { start: 0x%04x, end: 0x%04x, idx: %5d },\n", + printf (" { .start = 0x%04x, .end = 0x%04x, .idx = %5d },\n", first, last, idx); idx -= u - last - 1; } @@ -35,5 +35,5 @@ function tonum(str) last = u; } -END { printf (" { start: 0x%04x, end: 0x%04x, idx: %5d },\n", +END { printf (" { .start = 0x%04x, .end = 0x%04x, .idx = %5d },\n", first, last, idx); } diff --git a/iconvdata/gen-8bit-gap-1.sh b/iconvdata/gen-8bit-gap-1.sh index aeb6069e50..7b8baeb871 100644 --- a/iconvdata/gen-8bit-gap-1.sh +++ b/iconvdata/gen-8bit-gap-1.sh @@ -7,7 +7,7 @@ echo "};" echo "static const struct gap from_idx[] = {" sed -ne 's/^[[:space:]]*.x[A-Fa-f]..*/\1/p' \ "$@" | sort -u | $AWK -f gap.awk -echo " { start: 0xffff, end: 0xffff, idx: 0 }" +echo " { .start = 0xffff, .end = 0xffff, .idx = 0 }" echo "};" echo "static const char iso88597_from_ucs4[] = {" sed -ne 's/^[[:space:]]*.x\([A-Fa-f].\).*/0x\1 0x\2/p' \ diff --git a/iconvdata/gen-8bit-gap.sh b/iconvdata/gen-8bit-gap.sh index ce14c0be01..d0b59d320c 100644 --- a/iconvdata/gen-8bit-gap.sh +++ b/iconvdata/gen-8bit-gap.sh @@ -7,7 +7,7 @@ echo "};" echo "static const struct gap from_idx[] = {" sed -ne 's/^[[:space:]]*.x\(..\).*/\1 \2/p' \ -- cgit v1.2.3