diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-16 02:05:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-16 02:05:36 +0000 |
commit | 0274d73c41a807eeb10866f5211d727a5bc51b5c (patch) | |
tree | 4bbb9afc7877cf8d7a2de52036233d557485c422 /stdlib | |
parent | c2e131128be262e38f086465f3561c2faeaaef78 (diff) | |
download | glibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.zip glibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.tar.gz glibc-0274d73c41a807eeb10866f5211d727a5bc51b5c.tar.bz2 |
* 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 'stdlib')
-rw-r--r-- | stdlib/random.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/random.c b/stdlib/random.c index f09661d..8a32ee7 100644 --- a/stdlib/random.c +++ b/stdlib/random.c @@ -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 |