From nobody Mon Nov 28 04:34:33 2022 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLCL20z8Zz4hxYP for ; Mon, 28 Nov 2022 04:34:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLCL15hJQz4Dd2 for ; Mon, 28 Nov 2022 04:34:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669610073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=04fu5kmoi6CEau7NCTlbKVQjN0qttKcs8BPLiKkaMTs=; b=iFO0UMmEOx9DSMYsox+ulkgnQUgW9tVgBbDH3m7il0KGDLYcQgaIZ+sHuvnlma5C76pcaz cEZriMgirQYasWfm7b8NWaRxZ1fqvjhzmEAHB6N9+9B4+cDVbUxwXnymb8TXNcT5cc1Dt/ 0FQQIOsp5hTKgID2HfDK8pRXiVjyQwlDRzXvVCbADNd3+70z22GCM1tlXCTy7GT/9qdhuH HoELpBIZpVf2cu2iaiqzZVnJC58qsRFuobLKmycVfilW7EpfcGCONWQRio39eoTNMJVRvL w3Wah0UDZe/UQe078f+1iNKcXiMMvk4rN3dUfQbDqy/1z9l++1cUGsJG1n8oJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669610073; a=rsa-sha256; cv=none; b=HymonRcK/PrzMYleFISghy5SYO9wBZRtGX5WDnm30hMXG24pGX6AXXJKLuVqDQ7oZTI1ng ZFswiAzN+ikReQ57odnVPRDghRoVT24b++LhRZ1jPjxmuR6fgz4Czxd/CgQ+l0H4VgBk1D aghYd0s4sg4de20puh1oqELtSX1L2bKFy4DcTXzeEleGvR4TnJs2AiAplPmP1CSlwKqPRe Tpq51zPYB+6gGE/03K+M9I7WAmmt+DBrqGboT3SkoRLfjbxsAwR/1AMneL3U9JshZHflxP 4go577vpRdAFbW6DdtzGZbhY2tOvSmHbg7DodDLPdfJYQur8ioBZcl8U323reQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NLCL14kT6zQ9w for ; Mon, 28 Nov 2022 04:34:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AS4YXas099801 for ; Mon, 28 Nov 2022 04:34:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AS4YXod099800 for standards@FreeBSD.org; Mon, 28 Nov 2022 04:34:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 268028] [PATCH] remove unneeded sys/types.h include Date: Mon, 28 Nov 2022 04:34:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: guilherme.janczak@yandex.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=