summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-28 20:16:14 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-28 20:16:14 +0000
commitc3553758cd43b804e8db29888aa6b370e70607a8 (patch)
treef671a0bae6a05f92bc9c0895b86e7ed6d6222708
parenta2b23984d1479ac0a35eb1ceeb89ab6f6d036bad (diff)
No need to include <sys/param.h> before <sys/sysctl.h>.
ok deraadt@, jca@
-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"