Use zero-sized array as last field of event description
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 1 Dec 2023 21:55:45 +0000 (16:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 1 Dec 2023 21:55:45 +0000 (16:55 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/abi/event-description.h

index 1c72d4d77d076dfd3baf2d588e25fce23122ace7..9f42524beba547117073cf7a3092691435292b1b 100644 (file)
@@ -60,7 +60,7 @@ struct side_event_description {
 #define side_event_description_orig_abi_last nr_attr
        /* End of fields supported in the original ABI. */
 
-       char end[];     /* End with a flexible array to account for extensibility. */
+       char end[0];    /* End with a zero-sized array to account for extensibility. */
 } SIDE_PACKED;
 
 #endif /* SIDE_ABI_EVENT_DESCRIPTION_H */
This page took 0.023018 seconds and 4 git commands to generate.