commit | a479261feb4284365b0822875f514d3e05df1039 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Mon Jan 10 13:51:15 2022 -0800 |
committer | Christopher Ferris <cferris@google.com> | Mon Jan 10 13:51:15 2022 -0800 |
tree | 860b5aa3a7da040fc1907754d4b5f31f8b23d2e3 | |
parent | f62c8f99cb1959895408cfd49ced77e8834427f2 [diff] [blame] |
Update to v5.16 kernel headers. Kernel headers coming from: Git: https://android.googlesource.com/kernel/common/ Branch: android-mainline Tag: android-mainline-5.16 Test: Builds and bionic unit tests pass. Change-Id: I2522c4f2a0efb9f8a193e1f2d65868e478217502
diff --git a/libc/kernel/uapi/linux/stddef.h b/libc/kernel/uapi/linux/stddef.h index 2a5fd95..d5cdf80 100644 --- a/libc/kernel/uapi/linux/stddef.h +++ b/libc/kernel/uapi/linux/stddef.h
@@ -20,3 +20,5 @@ #ifndef __always_inline #define __always_inline inline #endif +#define __struct_group(TAG,NAME,ATTRS,MEMBERS...) union { struct { MEMBERS } ATTRS; struct TAG { MEMBERS } ATTRS NAME; } +#define __DECLARE_FLEX_ARRAY(TYPE,NAME) struct { struct { } __empty_ ##NAME; TYPE NAME[]; }