[Bug 266146] Clang prints bogus warning: incompatible pointer types passing 'struct kinfo_proc *' to parameter of type 'struct kinfo_proc *' [-Wincompatible-pointer-types]

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 Aug 2022 22:54:41 UTC

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:


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(+)

You are receiving this mail because:
You are the assignee for the bug.