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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user