|
|
@ -10,7 +10,7 @@ |
|
|
|
* of any kind. I shall in no event be liable for anything that happens |
|
|
|
* to anyone/anything when using this software. |
|
|
|
* |
|
|
|
* $OpenBSD: rand48.h,v 1.4 2014/12/08 21:45:20 deraadt Exp $ |
|
|
|
* $OpenBSD: rand48.h,v 1.5 2015/08/27 04:33:31 guenther Exp $ |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef _RAND48_H_ |
|
|
@ -19,8 +19,14 @@ |
|
|
|
#include <math.h> |
|
|
|
#include <stdlib.h> |
|
|
|
|
|
|
|
__BEGIN_HIDDEN_DECLS |
|
|
|
extern unsigned short __rand48_seed[3]; |
|
|
|
extern unsigned short __rand48_mult[3]; |
|
|
|
extern unsigned short __rand48_add; |
|
|
|
|
|
|
|
void __dorand48(unsigned short[3]); |
|
|
|
extern int __rand48_deterministic; |
|
|
|
__END_HIDDEN_DECLS |
|
|
|
|
|
|
|
#define RAND48_SEED_0 (0x330e) |
|
|
|
#define RAND48_SEED_1 (0xabcd) |
|
|
|