From 809239262088f866c609ff697c71459aba004e00 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Thu, 27 Aug 2015 04:33:31 +0000 Subject: Move the __rand48_* declarations into rand48.h, and then hide both them and __dorand48() and __rand48_deterministic ok deraadt@ --- src/lib/libc/stdlib/rand48.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/stdlib/rand48.h') 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 @@ * 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 #include +__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) -- cgit v1.2.3-55-g6feb