summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/drand48.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-08-27 04:33:31 +0000
committerguenther <guenther@openbsd.org>2015-08-27 04:33:31 +0000
commite90fdadc95f494eca97c1ac0d02182e195b5f664 (patch)
tree7870672ba16f01d3b951afd04f26c0d268103b0d /lib/libc/stdlib/drand48.c
parentUse kbind for lazy binding GOT/PLT updates on hppa. (diff)
downloadwireguard-openbsd-e90fdadc95f494eca97c1ac0d02182e195b5f664.tar.xz
wireguard-openbsd-e90fdadc95f494eca97c1ac0d02182e195b5f664.zip
Move the __rand48_* declarations into rand48.h, and then hide both them
and __dorand48() and __rand48_deterministic ok deraadt@
Diffstat (limited to 'lib/libc/stdlib/drand48.c')
-rw-r--r--lib/libc/stdlib/drand48.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/drand48.c b/lib/libc/stdlib/drand48.c
index e7cb3cb71c7..2be23d4c7a4 100644
--- a/lib/libc/stdlib/drand48.c
+++ b/lib/libc/stdlib/drand48.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drand48.c,v 1.5 2014/12/09 19:50:26 deraadt Exp $ */
+/* $OpenBSD: drand48.c,v 1.6 2015/08/27 04:33:31 guenther Exp $ */
/*
* Copyright (c) 1993 Martin Birgmeier
* All rights reserved.
@@ -14,8 +14,6 @@
#include "rand48.h"
-extern unsigned short __rand48_seed[3];
-
double
drand48(void)
{