Date: Fri, 25 Aug 2023 01:08:44 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 94fb5053dabd - stable/13 - subr_unit.c: another attempt to fix the build Message-ID: <202308250108.37P18iKK058782@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=94fb5053dabdb0e5877d246b6569f37d680290fb commit 94fb5053dabdb0e5877d246b6569f37d680290fb Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-08-18 15:42:59 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-08-25 01:06:45 +0000 subr_unit.c: another attempt to fix the build (cherry picked from commit 04f683b25a81ad47c998e3e496419c08ae4905eb) --- sys/kern/subr_unit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c index 4fb2bb3790e2..3cac6a7da264 100644 --- a/sys/kern/subr_unit.c +++ b/sys/kern/subr_unit.c @@ -353,6 +353,10 @@ free_iter_unr(void *handle) } #if defined(DIAGNOSTIC) || !defined(_KERNEL) +#ifndef __diagused +#define __diagused +#endif + /* * Consistency check function. *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308250108.37P18iKK058782>