diff options
| author | guenther <> | 2015-08-27 04:33:31 +0000 |
|---|---|---|
| committer | guenther <> | 2015-08-27 04:33:31 +0000 |
| commit | e6c9bc283d980d5de061681c83af2c5ec669db1b (patch) | |
| tree | c292559d08ad513b7c50ca095f932d69574c8c44 /src/lib/libc/stdlib/lcong48.c | |
| parent | fc3d3d60211a42640c6c2273a1d4edf9901f1492 (diff) | |
| download | openbsd-e6c9bc283d980d5de061681c83af2c5ec669db1b.tar.gz openbsd-e6c9bc283d980d5de061681c83af2c5ec669db1b.tar.bz2 openbsd-e6c9bc283d980d5de061681c83af2c5ec669db1b.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/lcong48.c')
| -rw-r--r-- | src/lib/libc/stdlib/lcong48.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/lcong48.c b/src/lib/libc/stdlib/lcong48.c index 09726efb6e..5b297ddbfc 100644 --- a/src/lib/libc/stdlib/lcong48.c +++ b/src/lib/libc/stdlib/lcong48.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: lcong48.c,v 1.4 2014/12/08 21:45:20 deraadt Exp $ */ | 1 | /* $OpenBSD: lcong48.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 | void | 17 | void |
| 22 | lcong48(unsigned short p[7]) | 18 | lcong48(unsigned short p[7]) |
| 23 | { | 19 | { |
