aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Janczak <guilherme.janczak@yandex.com>2022-11-28 22:57:37 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2022-12-06 04:06:23 +0000
commit5b6f0a5012e9bc37dcb32b57b41e2443a46da620 (patch)
tree95f646a86b221eba683e14fe322058d98ffa8cd2
parent95240a65fb18985378988d5077fbac43fba30c5c (diff)
downloadsrc-5b6f0a5012e9bc37dcb32b57b41e2443a46da620.tar.gz
src-5b6f0a5012e9bc37dcb32b57b41e2443a46da620.zip
libc: remove unneeded sys/types.h include from several synopses
PR: 268028 (cherry picked from commit a6d40b0ad2c51e16a8c99750d5ed6f9aea2be7d4)
-rw-r--r--lib/libc/gen/ftok.33
-rw-r--r--lib/libc/gen/getpeereid.33
-rw-r--r--lib/libc/gen/getpwent.33
-rw-r--r--lib/libc/gen/setproctitle.33
-rw-r--r--lib/libc/gen/tcgetpgrp.33
-rw-r--r--lib/libc/gen/tcgetsid.33
-rw-r--r--lib/libc/gen/tcsetpgrp.33
-rw-r--r--lib/libc/gen/tcsetsid.33
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"