diff options
Diffstat (limited to 'src/lib/libc/stdlib/rand48.h')
-rw-r--r-- | src/lib/libc/stdlib/rand48.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/rand48.h b/src/lib/libc/stdlib/rand48.h index ee70174744..fff289927f 100644 --- a/src/lib/libc/stdlib/rand48.h +++ b/src/lib/libc/stdlib/rand48.h | |||
@@ -10,7 +10,7 @@ | |||
10 | * of any kind. I shall in no event be liable for anything that happens | 10 | * of any kind. I shall in no event be liable for anything that happens |
11 | * to anyone/anything when using this software. | 11 | * to anyone/anything when using this software. |
12 | * | 12 | * |
13 | * $OpenBSD: rand48.h,v 1.4 2014/12/08 21:45:20 deraadt Exp $ | 13 | * $OpenBSD: rand48.h,v 1.5 2015/08/27 04:33:31 guenther Exp $ |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #ifndef _RAND48_H_ | 16 | #ifndef _RAND48_H_ |
@@ -19,8 +19,14 @@ | |||
19 | #include <math.h> | 19 | #include <math.h> |
20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
21 | 21 | ||
22 | __BEGIN_HIDDEN_DECLS | ||
23 | extern unsigned short __rand48_seed[3]; | ||
24 | extern unsigned short __rand48_mult[3]; | ||
25 | extern unsigned short __rand48_add; | ||
26 | |||
22 | void __dorand48(unsigned short[3]); | 27 | void __dorand48(unsigned short[3]); |
23 | extern int __rand48_deterministic; | 28 | extern int __rand48_deterministic; |
29 | __END_HIDDEN_DECLS | ||
24 | 30 | ||
25 | #define RAND48_SEED_0 (0x330e) | 31 | #define RAND48_SEED_0 (0x330e) |
26 | #define RAND48_SEED_1 (0xabcd) | 32 | #define RAND48_SEED_1 (0xabcd) |