]>
Commit | Line | Data |
---|---|---|
1f2f436a A |
1 | --- drand48.c.orig 2009-11-07 14:51:37.000000000 -0800 |
2 | +++ drand48.c 2009-11-07 14:51:39.000000000 -0800 | |
3 | @@ -16,10 +16,10 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/dra | |
224c7076 A |
4 | |
5 | #include "rand48.h" | |
6 | ||
7 | -extern unsigned short _rand48_seed[3]; | |
8 | - | |
9 | double | |
10 | drand48(void) | |
11 | { | |
12 | - return erand48(_rand48_seed); | |
13 | + ERAND48_BEGIN; | |
14 | + _DORAND48(_rand48_seed); | |
15 | + ERAND48_END(_rand48_seed); | |
16 | } |