From nobody Wed Aug 31 22:54:29 2022 X-Original-To: dev-commits-src-all@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 4MHzyG0w0rz4bZPX; Wed, 31 Aug 2022 22:54:30 +0000 (UTC) (envelope-from git@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 4MHzyG0Ctvz3ncG; Wed, 31 Aug 2022 22:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661986470; 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=x2VQU4N7dRN+T6heXsJkFXC7sp46XQb0FwU8gsNY2Vo=; b=cVEQkDFfDuAwFoNH3BvYuUR+V5XN03vgFDfpu9nvZGjao5IfZfuPOdeyIQ6vQTXPj+mreQ k6T8cTdwgnz416GBx8b228+LEx4eLygvShx7ssgDlGBnJc22gVZMu7t6xkXDX5jihNTUoT iCnQdg6/tm94xib09HbVKTppepTpm51MCxP435DgHxlbqFgAueuTUtE9qe6mev5FJ0EPDA Cugaidvg37wAcrkVLLZSM/HQWhdZ0Ev/4CHqumMzRV6UVBJzqyLy/pC9/FjW7EdBaAApsf z+56PmFpnTGpnH+BlLVLD8mlh24JOgPBkBrdQRPZEX3DN0mk72BqlQJhvWc6zQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4MHzyF6J7hzHCL; Wed, 31 Aug 2022 22:54:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27VMsTQ6041021; Wed, 31 Aug 2022 22:54:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VMsTj3041020; Wed, 31 Aug 2022 22:54:29 GMT (envelope-from git) Date: Wed, 31 Aug 2022 22:54:29 GMT Message-Id: <202208312254.27VMsTj3041020@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Brooks Davis Subject: git: 569bfb42951a - stable/13 - libprocstat: forward declare struct kinfo_proc List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 569bfb42951aaa65b9884a0a7c2f04cd91b1862d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661986470; 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=x2VQU4N7dRN+T6heXsJkFXC7sp46XQb0FwU8gsNY2Vo=; b=fQ3Ai/dTL96Dlb46Vo52/WWqIy9HGe8AVlybEtKOZ1aoP+WuKBAbsXw5gZ/7cX990u21l6 hmUEkFp0KnyHYRRfK45z3wJlBtV7ZXQWw5jxmKdEzcpBZMTcuoa7TyZtoZpXGaXF4J6lQy 0tTb4kUk8ag9X736u7LoVSdyvucl2ACafQKzURGT79KsJeMnSjlHQCB9hShBiAgPn/3jcm H1WvppE6u9FCP6ejDWUW09CmSRqmw9OsMKz18oVteokfwDnxxTK7JWa0pS41evXWjF6DoV RDziJxjRNIpSyaxGYgSrzc9/U33AGkB06dZp46rcmdQRIeG1Gz1wDT18cpoSdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661986470; a=rsa-sha256; cv=none; b=Bnk1pk55yr/z1P12vbd9ph9h/o2vz6ah/C1qA2iqMN1Vh5uDq1bEJSrTRC8XrVODzobDag +xQp/GOMxQ4x9Uoi2ghKsPKoCj6IvWfwwyWXf9Y9NAENZP7dFTAix16nWGLMvHpVe4Xydk yqYMWekfbQbzewLwXCkwqzViuV/qByabrfab8ZUcnYHFvf9viWHDrjnOUIirgV9VH49j3t h5WZYsPMcsAOQ6lirUTa5yXcq0SylPbGPLlDLsxd/qYxMoHzGiYumzUq6lNdRY5aLXS0cC VN7ENCYVSbha0UwiwPQ123G/+moguxOqxSTA4s6Le7mhTzNkkn2DIOe5FFlT3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=569bfb42951aaa65b9884a0a7c2f04cd91b1862d commit 569bfb42951aaa65b9884a0a7c2f04cd91b1862d Author: Brooks Davis AuthorDate: 2022-08-26 22:20:32 +0000 Commit: Brooks Davis CommitDate: 2022-08-31 22:38:15 +0000 libprocstat: forward declare struct kinfo_proc This allows libprocstat.h to be included without sys/user.h as documented in the manpage. PR: 266146 (cherry picked from commit a28f83353243e2298b5f89c0dd6705dfcbda77ea) --- lib/libprocstat/libprocstat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libprocstat/libprocstat.h b/lib/libprocstat/libprocstat.h index 8736870d163e..2432adb1aec3 100644 --- a/lib/libprocstat/libprocstat.h +++ b/lib/libprocstat/libprocstat.h @@ -105,6 +105,7 @@ #define PS_FST_FFLAG_HASLOCK 0x4000 struct kinfo_kstack; +struct kinfo_proc; struct kinfo_vmentry; struct procstat; struct ptrace_lwpinfo;