summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/srand48.c
diff options
context:
space:
mode:
authorguenther <>2015-08-27 04:33:31 +0000
committerguenther <>2015-08-27 04:33:31 +0000
commit809239262088f866c609ff697c71459aba004e00 (patch)
treec292559d08ad513b7c50ca095f932d69574c8c44 /src/lib/libc/stdlib/srand48.c
parentbd55fe52542759d547f63faf9b00c12e56e2dbf3 (diff)
downloadopenbsd-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/srand48.c')
-rw-r--r--src/lib/libc/stdlib/srand48.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/srand48.c b/src/lib/libc/stdlib/srand48.c
index 115b9e82aa..ce4b45225d 100644
--- a/src/lib/libc/stdlib/srand48.c
+++ b/src/lib/libc/stdlib/srand48.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: srand48.c,v 1.4 2014/12/08 21:45:20 deraadt Exp $ */ 1/* $OpenBSD: srand48.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
17extern unsigned short __rand48_seed[3];
18extern unsigned short __rand48_mult[3];
19extern unsigned short __rand48_add;
20
21int __rand48_deterministic; 17int __rand48_deterministic;
22 18
23void 19void