diff options
author | guenther <> | 2015-08-27 04:33:31 +0000 |
---|---|---|
committer | guenther <> | 2015-08-27 04:33:31 +0000 |
commit | 809239262088f866c609ff697c71459aba004e00 (patch) | |
tree | c292559d08ad513b7c50ca095f932d69574c8c44 /src/lib/libc/stdlib/seed48.c | |
parent | bd55fe52542759d547f63faf9b00c12e56e2dbf3 (diff) | |
download | openbsd-809239262088f866c609ff697c71459aba004e00.tar.gz openbsd-809239262088f866c609ff697c71459aba004e00.tar.bz2 openbsd-809239262088f866c609ff697c71459aba004e00.zip |
Move the __rand48_* declarations into rand48.h, and then hide both them
and __dorand48() and __rand48_deterministic
ok deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/seed48.c')
-rw-r--r-- | src/lib/libc/stdlib/seed48.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/seed48.c b/src/lib/libc/stdlib/seed48.c index 7acb4e6d1d..0485ed6a10 100644 --- a/src/lib/libc/stdlib/seed48.c +++ b/src/lib/libc/stdlib/seed48.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: seed48.c,v 1.4 2014/12/08 21:45:20 deraadt Exp $ */ | 1 | /* $OpenBSD: seed48.c,v 1.5 2015/08/27 04:33:31 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1993 Martin Birgmeier | 3 | * Copyright (c) 1993 Martin Birgmeier |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -14,10 +14,6 @@ | |||
14 | 14 | ||
15 | #include "rand48.h" | 15 | #include "rand48.h" |
16 | 16 | ||
17 | extern unsigned short __rand48_seed[3]; | ||
18 | extern unsigned short __rand48_mult[3]; | ||
19 | extern unsigned short __rand48_add; | ||
20 | |||
21 | unsigned short * | 17 | unsigned short * |
22 | seed48(unsigned short xseed[3]) | 18 | seed48(unsigned short xseed[3]) |
23 | { | 19 | { |