[Bug 268028] [PATCH] remove unneeded sys/types.h include
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] [PATCH] remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] Remove unneeded sys/types.h include"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268028] Remove unneeded sys/types.h include"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Nov 2022 04:34:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268028
Bug ID: 268028
Summary: [PATCH] remove unneeded sys/types.h include
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: standards
Assignee: standards@FreeBSD.org
Reporter: guilherme.janczak@yandex.com
Created attachment 238386
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238386&action=edit
The patch.
Most of the affected man pages are of standard functions which are defined by
POSIX not to need a sys/types.h include. Only setproctitle.3 and tcsetsid.3 are
not standard functions. In both cases, I've verified that the other headers
these functions require include all the necessary type declarations.
This unnecessary include seems to be a minor but recurring issue in FreeBSD man
pages as evidenced by these past commits:
https://cgit.freebsd.org/src/log/lib/libc?id=310d2ce0f6835de3754d8f7f1da304c66440ffd3&qt=grep&q=sys%2Ftypes.h
--
You are receiving this mail because:
You are the assignee for the bug.