Date: Thu, 27 Nov 2025 14:56:09 +0000 From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 528e70a12ca6 - main - sys/_types.h: add void * to __max_align_t Message-ID: <69286689.313f2.40dcf11e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=528e70a12ca6ba07f1d8c88800871ceecbacfc70 commit 528e70a12ca6ba07f1d8c88800871ceecbacfc70 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2025-11-27 14:54:56 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> 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 */help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69286689.313f2.40dcf11e>
