The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=528e70a12ca6ba07f1d8c88800871ceecbacfc70
commit 528e70a12ca6ba07f1d8c88800871ceecbacfc70 Author: Brooks Davis <[email protected]> AuthorDate: 2025-11-27 14:54:56 +0000 Commit: Brooks Davis <[email protected]> CommitDate: 2025-11-27 14:54:56 +0000 sys/_types.h: add void * to __max_align_t Add a pointer member to __max_align_t as pointers may have different alignment requirements than long long or long double. Reviewed by: kib Effort: CHERI upstreaming Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D53821 --- sys/sys/_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/_types.h b/sys/sys/_types.h index e4d14da3c11e..7aa7f7bfeb72 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -206,6 +206,7 @@ typedef struct { long double __max_align2 __attribute__((__aligned__(__alignof__(long double)))); #endif + void *__max_align3 __attribute__((__aligned__(__alignof__(void *)))); } __max_align_t; /* Types for sys/acl.h */
