summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-10-28 20:16:13 +0000
committermpi <mpi@openbsd.org>2017-10-28 20:16:13 +0000
commitd7e4bf8a596f3cb2d1ae7f7d22f555d02ebd2a61 (patch)
tree1efa61790aad805ca817ec98ac12e6e593a427d3 /lib/libc
parentconsistently use .Vt for variable types and use ".Fa path" where appropriate; (diff)
downloadwireguard-openbsd-d7e4bf8a596f3cb2d1ae7f7d22f555d02ebd2a61.tar.xz
wireguard-openbsd-d7e4bf8a596f3cb2d1ae7f7d22f555d02ebd2a61.zip
No need to include <sys/param.h> before <sys/sysctl.h>.
ok deraadt@, jca@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/sysctl.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 997b15bff2b..8d17e4796c8 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.284 2017/10/16 15:09:43 mikeb Exp $
+.\" $OpenBSD: sysctl.3,v 1.285 2017/10/28 20:16:13 mpi Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,14 +27,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 16 2017 $
+.Dd $Mdocdate: October 28 2017 $
.Dt SYSCTL 3
.Os
.Sh NAME
.Nm sysctl
.Nd get or set system information
.Sh SYNOPSIS
-.In sys/param.h
+.In sys/types.h
.In sys/sysctl.h
.Ft int
.Fn sysctl "const int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen"