summaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-16 02:05:36 +0000
committerRoland McGrath <roland@gnu.org>2002-12-16 02:05:36 +0000
commit0274d73c41a807eeb10866f5211d727a5bc51b5c (patch)
tree4bbb9afc7877cf8d7a2de52036233d557485c422 /iconvdata
parentc2e131128be262e38f086465f3561c2faeaaef78 (diff)
downloadglibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.tar.gz
* 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.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/gap.awk4
-rw-r--r--iconvdata/gen-8bit-gap-1.sh2
-rw-r--r--iconvdata/gen-8bit-gap.sh2
3 files changed, 4 insertions, 4 deletions
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/^<U\(....\)>[[: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/^<U\(....\)>[[: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/^<U\(....\).*/\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 from_ucs4[] = {"
sed -ne 's/^<U\(....\)>[[:space:]]*.x\(..\).*/\1 \2/p' \