libc: remove unneeded sys/types.h include from several synopses

PR:	268028
Reviewed by:	kib
Discussed with:	imp
MFC after:	1 week
This commit is contained in:
Guilherme Janczak 2022-11-29 00:57:37 +02:00 committed by Konstantin Belousov
parent 4c4563e32d
commit a6d40b0ad2
8 changed files with 8 additions and 16 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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" "..."

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"