File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 70
70
71
71
/** @brief Content of the logging message. */
72
72
struct log_multidomain_log_msg {
73
- uint8_t data [ 0 ] ;
73
+ FLEXIBLE_ARRAY_DECLARE ( uint8_t , data ) ;
74
74
} __packed ;
75
75
76
76
/** @brief Content of the domain count message. */
@@ -87,14 +87,14 @@ struct log_multidomain_source_cnt {
87
87
/** @brief Content of the domain name message. */
88
88
struct log_multidomain_domain_name {
89
89
uint8_t domain_id ;
90
- char name [0 ];
90
+ char name [];
91
91
} __packed ;
92
92
93
93
/** @brief Content of the source name message. */
94
94
struct log_multidomain_source_name {
95
95
uint8_t domain_id ;
96
96
uint16_t source_id ;
97
- char name [0 ];
97
+ char name [];
98
98
} __packed ;
99
99
100
100
/** @brief Content of the message for getting logging levels. */
You can’t perform that action at this time.
0 commit comments