Date: Wed, 31 Aug 2022 22:54:41 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 266146] Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types] Message-ID: <bug-266146-29464-rSgI2GPfh8@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266146-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-266146-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266146 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D569bfb42951aaa65b9884a0a7c2f04cd9= 1b1862d commit 569bfb42951aaa65b9884a0a7c2f04cd91b1862d Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2022-08-26 22:20:32 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> 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(+) --=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-266146-29464-rSgI2GPfh8>