[2/6] dlfcn : annotate dls_serpath with __decl_is_flex_array
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Testing passed
|
Commit Message
Signed-off-by: Cristian Rodríguez <cristian@rodriguez.im>
---
dlfcn/dlfcn.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -192,7 +192,7 @@ typedef struct
not support structs with flexible array members in unions. */
__extension__ union
{
- Dl_serpath dls_serpath[0]; /* Actually longer, dls_cnt elements. */
+ Dl_serpath dls_serpath[0] __decl_is_flex_array; /* Actually longer, dls_cnt elements. */
Dl_serpath __dls_serpath_pad[1];
};
# else