summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/random.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-09-08 05:36:51 +0000
committerderaadt <deraadt@openbsd.org>2017-09-08 05:36:51 +0000
commitb27348b2082c02cb5227e0e4933400ad6739ec5a (patch)
tree61856d0fd143076ef216debd0c3051e4b36fa4d5 /sys/lib/libkern/random.c
parentvmd: handle queue index wraparound in viornd. Without this, openbsd guests (diff)
downloadwireguard-openbsd-b27348b2082c02cb5227e0e4933400ad6739ec5a.tar.xz
wireguard-openbsd-b27348b2082c02cb5227e0e4933400ad6739ec5a.zip
If you use sys/param.h, you don't need sys/types.h
Diffstat (limited to 'sys/lib/libkern/random.c')
-rw-r--r--sys/lib/libkern/random.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/lib/libkern/random.c b/sys/lib/libkern/random.c
index 26a9173702d..c3361fb86c6 100644
--- a/sys/lib/libkern/random.c
+++ b/sys/lib/libkern/random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: random.c,v 1.9 2014/01/19 12:45:36 deraadt Exp $ */
+/* $OpenBSD: random.c,v 1.10 2017/09/08 05:36:53 deraadt Exp $ */
/* $NetBSD: random.c,v 1.2 1994/10/26 06:42:42 cgd Exp $ */
/*-
@@ -33,7 +33,6 @@
*/
#include <sys/param.h>
-#include <sys/types.h>
#include <lib/libkern/libkern.h>