summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.3
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-06-01 01:01:57 +0000
committerguenther <guenther@openbsd.org>2012-06-01 01:01:57 +0000
commitb10cd18816ef05a64b29120c243bb2006d9f7465 (patch)
tree1db895bc32a81056ffcf399a00ae15b76777bfe2 /lib/libc/stdlib/random.3
parentfix memory leak when mux socket creation fails; bz#2002 from bert.wesarg (diff)
downloadwireguard-openbsd-b10cd18816ef05a64b29120c243bb2006d9f7465.tar.xz
wireguard-openbsd-b10cd18816ef05a64b29120c243bb2006d9f7465.zip
Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(),
and valloc() are not in the current version, while posix_memalign() mkstemp(), and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'. ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
Diffstat (limited to 'lib/libc/stdlib/random.3')
-rw-r--r--lib/libc/stdlib/random.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index ed05df162b6..84756bb3e35 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: random.3,v 1.19 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: random.3,v 1.20 2012/06/01 01:01:57 guenther Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 1 2012 $
.Dt RANDOM 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@
.Ft char *
.Fn initstate "unsigned int seed" "char *state" "size_t n"
.Ft char *
-.Fn setstate "const char *state"
+.Fn setstate "char *state"
.Sh DESCRIPTION
The
.Fn random