git: 3772cb06205f - stable/14 - kassert: Explicitly include <sys/_types.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 May 2025 19:51:49 UTC
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=3772cb06205fd6bd9f7afcf9ffa0c7b4514f94da commit 3772cb06205fd6bd9f7afcf9ffa0c7b4514f94da Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-04-07 12:16:34 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-05-01 19:46:37 +0000 kassert: Explicitly include <sys/_types.h> Include it as <sys/kassert.h> has direct references defined in it (to '__va_list' and '__printflike' at least). This is a step to make <sys/kassert.h> usable without the need to explicitly include other headers. Reviewed by: imp, markj MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49972 (cherry picked from commit 0f2090ccfeb6e3e1a2290300b53baedfb057c2b5) --- sys/sys/kassert.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/kassert.h b/sys/sys/kassert.h index 8e22e0e2c9f9..ad8242245c37 100644 --- a/sys/sys/kassert.h +++ b/sys/sys/kassert.h @@ -31,6 +31,7 @@ #ifndef _SYS_KASSERT_H_ #define _SYS_KASSERT_H_ +#include <sys/_types.h> #include <sys/cdefs.h> #ifdef _KERNEL