Date: Mon, 28 Nov 2022 04:34:33 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 268028] [PATCH] remove unneeded sys/types.h include Message-ID: <bug-268028-99@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268028 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=3D238386&action= =3Dedit 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=3D310d2ce0f6835de3754d8f7f1da3= 04c66440ffd3&qt=3Dgrep&q=3Dsys%2Ftypes.h --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268028-99>