From a38464e32f19c0d81fa0e25d02b97418e2881698 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 22 Feb 2022 03:35:36 +0000 Subject: [PATCH] The include of sys/ktrace.h will require sys/types.h, so document this. --- lib/libc/sys/ktrace.2 | 5 +++-- lib/libc/sys/utrace.2 | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 63d4173668a..cbf812ec44a 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ktrace.2,v 1.39 2021/11/21 23:44:55 jan Exp $ +.\" $OpenBSD: ktrace.2,v 1.40 2022/02/22 03:35:36 deraadt Exp $ .\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: November 21 2021 $ +.Dd $Mdocdate: February 22 2022 $ .Dt KTRACE 2 .Os .Sh NAME @@ -38,6 +38,7 @@ .Nd process tracing .Sh SYNOPSIS .In sys/types.h +.In sys/time.h .In sys/uio.h .In sys/ktrace.h .Ft int diff --git a/lib/libc/sys/utrace.2 b/lib/libc/sys/utrace.2 index e8fab4105db..d958f82357d 100644 --- a/lib/libc/sys/utrace.2 +++ b/lib/libc/sys/utrace.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utrace.2,v 1.2 2021/09/01 15:51:45 deraadt Exp $ +.\" $OpenBSD: utrace.2,v 1.3 2022/02/22 03:35:36 deraadt Exp $ .\" $NetBSD: utrace.2,v 1.13 2008/05/02 18:38:32 martin Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 1 2021 $ +.Dd $Mdocdate: February 22 2022 $ .Dt UTRACE 2 .Os .Sh NAME @@ -36,6 +36,7 @@ .Nd insert user record in ktrace log .Sh SYNOPSIS .In sys/types.h +.In sys/time.h .In sys/uio.h .In sys/ktrace.h .Ft int -- 2.20.1