From nobody Wed Aug 31 23:09:12 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 4MJ0HD66Hzz4bbdh; Wed, 31 Aug 2022 23:09:12 +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 4MJ0HD5R1Sz3pHM; Wed, 31 Aug 2022 23:09:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661987352; 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=W+WNYWJVGXXbc4kUpICFg8FGPq/y3zxArou9rqBt5po=; b=TqfvJCH4hQBBlDy1beq7tbZL5aHX+3uOKt8cwlS3O6/4EhRtqR1DFhDUXT6FxDqafdCAev XnZoWT+3uqgVa1t1H8tERhArUiGeJFl8DF0PsVyJhab16oGnb7BQCYu4rneDY42WyrgeUi atLzayHu3CbZNL9DKspVLBooHntOW/WT6M/kyXj+Nj6b8EqVSg3tpwMn7Kx22zFFVSp6so /nQWWdjWAisiVIzHBKKwbZrJ721ZLPo/42MTTmnCqQB4kgoGkOA6LXzhHMMQfcEZuJGVaz lXXT3lWGIZ0Vtb0CZUJCT7Xwys4v7jtq/tsNViMWDfKo/FPqC2fe03VcQQ6QDQ== 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 4MJ0HD4LZjzHLg; Wed, 31 Aug 2022 23:09:12 +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 27VN9CLX054337; Wed, 31 Aug 2022 23:09:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VN9CA6054336; Wed, 31 Aug 2022 23:09:12 GMT (envelope-from git) Date: Wed, 31 Aug 2022 23:09:12 GMT Message-Id: <202208312309.27VN9CA6054336@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: f4036d3241cf - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: f4036d3241cf4e1f78cff77aaaf05e962ebaf46e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661987352; 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=W+WNYWJVGXXbc4kUpICFg8FGPq/y3zxArou9rqBt5po=; b=wCcAdFczWgYqytRHKR07L1snSwwM2B7IaPlxLoyAyT8pPqA3wc/D+/tgHvpbl6j9ZmrsPs Iqq4qN6MCiS/jxCcmAKErjM6tXpHQYSy84ZBA48qmZLajXIT+khOyB/BLvtqEpkXA0OJ0F IIejcnnAK+MFVIyvutfeb0OX1/C05Zi3E9ShFOlal1O0MkN9lqA00XxQTiwLNH5/ecXKF/ OgdmqJb7rGsF9mdBmFwprPgMAV5S/+3wFYgyrQfoVVVsI0hDp2knrvnqSbozQDXdi9hfoP /gHTLpfAcHrpgZnWlH4pvCelXjg/fB/AItBSRHx8i7wD8/5/z+6fSWceg0wGhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661987352; a=rsa-sha256; cv=none; b=w6oaCx3M60b1fjNEJLd0CuTtzH3NO41jMPJ7oqlkWrQgDmKmqU71YducJ+OZSqrBR8LZR5 uhEU5rmWttrMwJUzCt+WjNNzkvaj5STMIOqP8bvrHUNe3OgDV7NRvHX5W27LX1kFLFi7lk X7ercSA7xE83iQ9l8Z6RmDebO5IKJ32fUM67z71FJq1+oJpTwxtTedH77MJScQ8XaEuRit G/DvjWejeVz2c3yu4eexVcOBeF3sORtEb5+1urixmd/pUgrQHXphDQNs1oIcFYluB0wDvJ zW8RVwi6tSi+W9ZqW4fDxRgwMou7JYICaeI66hHsTwRPEp7MtkGdC90AmxLJOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=f4036d3241cf4e1f78cff77aaaf05e962ebaf46e commit f4036d3241cf4e1f78cff77aaaf05e962ebaf46e Author: Brooks Davis AuthorDate: 2022-08-26 22:20:32 +0000 Commit: Brooks Davis CommitDate: 2022-08-31 22:55:52 +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 6e03ef515444..d1d8b392dd94 100644 --- a/lib/libprocstat/libprocstat.h +++ b/lib/libprocstat/libprocstat.h @@ -104,6 +104,7 @@ #define PS_FST_FFLAG_HASLOCK 0x4000 struct kinfo_kstack; +struct kinfo_proc; struct kinfo_vmentry; struct procstat; struct ptrace_lwpinfo;