mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-13 19:21:36 +03:00
* 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.
This commit is contained in:
@ -170,8 +170,8 @@ static struct random_data unsafe_state =
|
||||
in the initialization of randtbl) because the state table pointer is set
|
||||
to point to randtbl[1] (as explained below).) */
|
||||
|
||||
fptr : &randtbl[SEP_3 + 1],
|
||||
rptr : &randtbl[1],
|
||||
.fptr = &randtbl[SEP_3 + 1],
|
||||
.rptr = &randtbl[1],
|
||||
|
||||
/* The following things are the pointer to the state information table,
|
||||
the type of the current generator, the degree of the current polynomial
|
||||
@ -183,13 +183,13 @@ static struct random_data unsafe_state =
|
||||
indexing every time to find the address of the last element to see if
|
||||
the front and rear pointers have wrapped. */
|
||||
|
||||
state : &randtbl[1],
|
||||
.state = &randtbl[1],
|
||||
|
||||
rand_type : TYPE_3,
|
||||
rand_deg : DEG_3,
|
||||
rand_sep : SEP_3,
|
||||
.rand_type = TYPE_3,
|
||||
.rand_deg = DEG_3,
|
||||
.rand_sep = SEP_3,
|
||||
|
||||
end_ptr : &randtbl[sizeof (randtbl) / sizeof (randtbl[0])]
|
||||
.end_ptr = &randtbl[sizeof (randtbl) / sizeof (randtbl[0])]
|
||||
};
|
||||
|
||||
/* POSIX.1c requires that there is mutual exclusion for the `rand' and
|
||||
|
Reference in New Issue
Block a user