iconv: fix missing bounds checking for shift_jis decoding
[musl.git] / src / prng / lrand48.c
blob07e2b78440f13c6ec5095e82e23cbfded091772e
1 #include <stdlib.h>
2 #include <inttypes.h>
3 #include "rand48.h"
5 long nrand48(unsigned short s[3])
7 return __rand48_step(s, __seed48+3) >> 17;
10 long lrand48(void)
12 return nrand48(__seed48);