Date: Thu, 9 Jan 2025 19:01:08 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c6eb7f3fbffd - main - zstd: Add a stub <assert.h> for the kernel Message-ID: <202501091901.509J18mN012897@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c6eb7f3fbffd9065ab75a2ed266f1b069fd97e6e commit c6eb7f3fbffd9065ab75a2ed266f1b069fd97e6e Author: Minsoo Choo <minsoochoo0122@proton.me> AuthorDate: 2025-01-09 18:28:12 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2025-01-09 19:00:54 +0000 zstd: Add a stub <assert.h> for the kernel The stub header includes <sys/kassert.h>. zstd's xx_hash.h #includes <assert.h> for the definition of static_assert() when building with C11 or newer. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D43239 --- sys/contrib/zstd/lib/freebsd/assert.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/contrib/zstd/lib/freebsd/assert.h b/sys/contrib/zstd/lib/freebsd/assert.h new file mode 100644 index 000000000000..eb2efe9be6c0 --- /dev/null +++ b/sys/contrib/zstd/lib/freebsd/assert.h @@ -0,0 +1,2 @@ +/* This file is in the public domain */ +#include <sys/kassert.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501091901.509J18mN012897>