From nobody Fri Aug 26 22:20:41 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 4MDvRZ2665z4b3fD; Fri, 26 Aug 2022 22:20:42 +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 4MDvRZ1gjgz40R4; Fri, 26 Aug 2022 22:20:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661552442; 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=QLA8azF0qW80xwiYQHHEnpYWfzti+8lZSCHPdI43Bbw=; b=h9cQYiIuWmeoPSpYnvTTdnPTBkNQ6/J0BM6jZwH/0TJ/ziCgjgkGG7foe3S3BhzKPCdphA p14wet81gmlFl5mPScdIJvZd2kAs8AYOI54sit70X3kaqYWes2RINWFSVynHZAKGx01UFm Cmj96g3o9+WVN1txYMD4NSZillPZwnugX2tGntzpEmPalfmIO7/hyEKB4cge6cdgn5zN4q 7DuuZ8HWdyEeWCGhRYFcu85cKUk+ndqeN96Q6iimUYKow3mfKQYHXrmjizHRIJiOznIthh wiM/KIXh/spCjDOumZMomDM0YMMhU3Q/AdvwDqSKygU0YNSRPBtXrja6YgY+KA== 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 4MDvRZ0kFhzY2b; Fri, 26 Aug 2022 22:20:42 +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 27QMKgP6039165; Fri, 26 Aug 2022 22:20:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27QMKfOQ039164; Fri, 26 Aug 2022 22:20:41 GMT (envelope-from git) Date: Fri, 26 Aug 2022 22:20:41 GMT Message-Id: <202208262220.27QMKfOQ039164@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: a28f83353243 - main - 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/main X-Git-Reftype: branch X-Git-Commit: a28f83353243e2298b5f89c0dd6705dfcbda77ea Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661552442; 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=QLA8azF0qW80xwiYQHHEnpYWfzti+8lZSCHPdI43Bbw=; b=uuefhTAD4KEEsXKzQ7M3KqwxVFcURxlUXI9k8zA0vTk0Ko61Ce5yzTQVf9B0Ib/vMs1b9Y 3wa40pR5rMLue9BRcjecNnZ5YBBB0I//qq+a0/92GX+4Ia+0KA86n3hjBlxp6yNxPWCbIf 4q3Wn5aPB+WASRD3j6M4S0Ys2zU5bC9itTeK+ngcTffASolJYUzJFfUUzy3B+6AKTOKDoE 2I6f2gmbJM0hgWiiHw0MbdcnHYbq2FU2KzgOcOeRjmBpN1t9ZZHLny74kZIvy7hIs3zo6Y G1sE/PPHBUwAfJ5nNZGwdRzLmgmBQrJIHg5t2OBp9p5djHyWUQXG8HL9CcwCWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661552442; a=rsa-sha256; cv=none; b=bApfj1TK0MWRR06GjH3OHYErY/3aGsvRuPQG4E9/Ki35fT6krqTEJUHTXjSlT7KCv7siOv reK5tIQ5j/1QsQ0e/SiEni9wIFi/QGXYb9Hu485ahLkZckgyh5uo3M+htlikWum6PGZz7Z QyFg2mn9bWUUo8t3gDdt4NJbMTbQmOU9XLflcYrTWvd/7JTmkPC4XDozqSHG9YHmqB6uPL VenXu1y3cJ2hYdnoDWdl6f9C8b5p2PN9FyweEDPSqAyhkJlMeyyCeAYafMAamPoYBg77Dh aKmOUo9Irdd9kV9w2RjCXKS0Mbw8iIG8A5Sn6+YdYPOcgk5Qj3pXfRIdbjU7BA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=a28f83353243e2298b5f89c0dd6705dfcbda77ea commit a28f83353243e2298b5f89c0dd6705dfcbda77ea Author: Brooks Davis AuthorDate: 2022-08-26 22:20:32 +0000 Commit: Brooks Davis CommitDate: 2022-08-26 22:20:32 +0000 libprocstat: forward declare struct kinfo_proc This allows libprocstat.h to be included without sys/user.h as documented in the manpage. --- 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;