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. --- stdio-common/vfprintf.c | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'stdio-common') diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 4f9cd9b..a590216 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -806,20 +806,20 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) \ if (fspec == NULL) \ { \ - struct printf_info info = { prec: prec, \ - width: width, \ - spec: spec, \ - is_long_double: is_long_double, \ - is_short: is_short, \ - is_long: is_long, \ - alt: alt, \ - space: space, \ - left: left, \ - showsign: showsign, \ - group: group, \ - pad: pad, \ - extra: 0, \ - wide: sizeof (CHAR_T) != 1 }; \ + struct printf_info info = { .prec = prec, \ + .width = width, \ + .spec = spec, \ + .is_long_double = is_long_double, \ + .is_short = is_short, \ + .is_long = is_long, \ + .alt = alt, \ + .space = space, \ + .left = left, \ + .showsign = showsign, \ + .group = group, \ + .pad = pad, \ + .extra = 0, \ + .wide = sizeof (CHAR_T) != 1 }; \ \ if (is_long_double) \ the_arg.pa_long_double = va_arg (ap, long double); \ @@ -855,20 +855,20 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) \ if (fspec == NULL) \ { \ - struct printf_info info = { prec: prec, \ - width: width, \ - spec: spec, \ - is_long_double: is_long_double, \ - is_short: is_short, \ - is_long: is_long, \ - alt: alt, \ - space: space, \ - left: left, \ - showsign: showsign, \ - group: group, \ - pad: pad, \ - extra: 0, \ - wide: sizeof (CHAR_T) != 1 }; \ + struct printf_info info = { .prec = prec, \ + .width = width, \ + .spec = spec, \ + .is_long_double = is_long_double, \ + .is_short = is_short, \ + .is_long = is_long, \ + .alt = alt, \ + .space = space, \ + .left = left, \ + .showsign = showsign, \ + .group = group, \ + .pad = pad, \ + .extra = 0, \ + .wide = sizeof (CHAR_T) != 1 }; \ \ if (is_long_double) \ the_arg.pa_long_double = va_arg (ap, long double); \ -- cgit v1.1