git: a6d40b0ad2c5 - main - libc: remove unneeded sys/types.h include from several synopses

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 29 Nov 2022 22:46:03 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=a6d40b0ad2c51e16a8c99750d5ed6f9aea2be7d4

commit a6d40b0ad2c51e16a8c99750d5ed6f9aea2be7d4
Author:     Guilherme Janczak <guilherme.janczak@yandex.com>
AuthorDate: 2022-11-28 22:57:37 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-11-29 22:45:07 +0000

    libc: remove unneeded sys/types.h include from several synopses
    
    PR:     268028
    Reviewed by:    kib
    Discussed with: imp
    MFC after:      1 week
---
 lib/libc/gen/ftok.3         | 3 +--
 lib/libc/gen/getpeereid.3   | 3 +--
 lib/libc/gen/getpwent.3     | 3 +--
 lib/libc/gen/setproctitle.3 | 3 +--
 lib/libc/gen/tcgetpgrp.3    | 3 +--
 lib/libc/gen/tcgetsid.3     | 3 +--
 lib/libc/gen/tcsetpgrp.3    | 3 +--
 lib/libc/gen/tcsetsid.3     | 3 +--
 8 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/lib/libc/gen/ftok.3 b/lib/libc/gen/ftok.3
index b819dbd185d4..88c366a7dcf3 100644
--- a/lib/libc/gen/ftok.3
+++ b/lib/libc/gen/ftok.3
@@ -24,7 +24,7 @@
 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" $FreeBSD$
-.Dd July 9, 2009
+.Dd November 28, 2022
 .Dt FTOK 3
 .Os
 .Sh NAME
@@ -33,7 +33,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In sys/ipc.h
 .Ft key_t
 .Fn ftok "const char *path" "int id"
diff --git a/lib/libc/gen/getpeereid.3 b/lib/libc/gen/getpeereid.3
index 3c99eeda37f0..ec9b60b461db 100644
--- a/lib/libc/gen/getpeereid.3
+++ b/lib/libc/gen/getpeereid.3
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 3, 2017
+.Dd November 28, 2022
 .Dt GETPEEREID 3
 .Os
 .Sh NAME
@@ -34,7 +34,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In unistd.h
 .Ft int
 .Fn getpeereid "int s" "uid_t *euid" "gid_t *egid"
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index d7043d814802..782c4f729ecd 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -28,7 +28,7 @@
 .\"     From: @(#)getpwent.3	8.2 (Berkeley) 12/11/93
 .\" $FreeBSD$
 .\"
-.Dd April 16, 2003
+.Dd November 28, 2022
 .Dt GETPWENT 3
 .Os
 .Sh NAME
@@ -45,7 +45,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In pwd.h
 .Ft struct passwd *
 .Fn getpwent void
diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3
index 1dd602ef58dc..a725977e5191 100644
--- a/lib/libc/gen/setproctitle.3
+++ b/lib/libc/gen/setproctitle.3
@@ -20,7 +20,7 @@
 .\" $FreeBSD$
 .\"
 .\" The following requests are required for all man pages.
-.Dd November 13, 2020
+.Dd November 28, 2022
 .Dt SETPROCTITLE 3
 .Os
 .Sh NAME
@@ -28,7 +28,6 @@
 .Nm setproctitle_fast
 .Nd set process title
 .Sh SYNOPSIS
-.In sys/types.h
 .In unistd.h
 .Ft void
 .Fn setproctitle "const char *fmt" "..."
diff --git a/lib/libc/gen/tcgetpgrp.3 b/lib/libc/gen/tcgetpgrp.3
index 965416e9a50e..ca07d228afab 100644
--- a/lib/libc/gen/tcgetpgrp.3
+++ b/lib/libc/gen/tcgetpgrp.3
@@ -28,7 +28,7 @@
 .\"	@(#)tcgetpgrp.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd November 28, 2022
 .Dt TCGETPGRP 3
 .Os
 .Sh NAME
@@ -37,7 +37,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In unistd.h
 .Ft pid_t
 .Fn tcgetpgrp "int fd"
diff --git a/lib/libc/gen/tcgetsid.3 b/lib/libc/gen/tcgetsid.3
index 60bff8d0b98a..fdf374b1aa98 100644
--- a/lib/libc/gen/tcgetsid.3
+++ b/lib/libc/gen/tcgetsid.3
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 15, 2008
+.Dd November 28, 2022
 .Dt TCGETSID 3
 .Os
 .Sh NAME
@@ -33,7 +33,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In termios.h
 .Ft pid_t
 .Fn tcgetsid "int fd"
diff --git a/lib/libc/gen/tcsetpgrp.3 b/lib/libc/gen/tcsetpgrp.3
index d59dcf03f446..71d98ae1d467 100644
--- a/lib/libc/gen/tcsetpgrp.3
+++ b/lib/libc/gen/tcsetpgrp.3
@@ -28,7 +28,7 @@
 .\"	@(#)tcsetpgrp.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd November 28, 2022
 .Dt TCSETPGRP 3
 .Os
 .Sh NAME
@@ -37,7 +37,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In unistd.h
 .Ft int
 .Fn tcsetpgrp "int fd" "pid_t pgrp_id"
diff --git a/lib/libc/gen/tcsetsid.3 b/lib/libc/gen/tcsetsid.3
index d0f1d985753e..0b0facd69811 100644
--- a/lib/libc/gen/tcsetsid.3
+++ b/lib/libc/gen/tcsetsid.3
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 4, 2009
+.Dd November 28, 2022
 .Dt TCSETSID 3
 .Os
 .Sh NAME
@@ -33,7 +33,6 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
 .In termios.h
 .Ft int
 .Fn tcsetsid "int fd" "pid_t pid"