File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ struct bt_has {
68
68
69
69
struct bt_has_cp_hdr {
70
70
uint8_t opcode ;
71
- uint8_t data [0 ];
71
+ uint8_t data [];
72
72
} __packed ;
73
73
74
74
struct bt_has_cp_read_presets_req {
@@ -80,25 +80,25 @@ struct bt_has_cp_read_preset_rsp {
80
80
uint8_t is_last ;
81
81
uint8_t index ;
82
82
uint8_t properties ;
83
- uint8_t name [0 ];
83
+ uint8_t name [];
84
84
} __packed ;
85
85
86
86
struct bt_has_cp_preset_changed {
87
87
uint8_t change_id ;
88
88
uint8_t is_last ;
89
- uint8_t additional_params [0 ];
89
+ uint8_t additional_params [];
90
90
} __packed ;
91
91
92
92
struct bt_has_cp_generic_update {
93
93
uint8_t prev_index ;
94
94
uint8_t index ;
95
95
uint8_t properties ;
96
- uint8_t name [0 ];
96
+ uint8_t name [];
97
97
} __packed ;
98
98
99
99
struct bt_has_cp_write_preset_name {
100
100
uint8_t index ;
101
- uint8_t name [0 ];
101
+ uint8_t name [];
102
102
} __packed ;
103
103
104
104
struct bt_has_cp_set_active_preset {
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ struct bt_pac_codec {
23
23
struct bt_pac_ltv {
24
24
uint8_t len ;
25
25
uint8_t type ;
26
- uint8_t value [0 ];
26
+ uint8_t value [];
27
27
} __packed ;
28
28
29
29
struct bt_pac_ltv_data {
30
30
uint8_t len ;
31
- struct bt_pac_ltv data [0 ];
31
+ struct bt_pac_ltv data [];
32
32
} __packed ;
33
33
34
34
struct bt_pacs_read_rsp {
Original file line number Diff line number Diff line change @@ -246,12 +246,12 @@ struct bt_tbs_call_cp_retrieve {
246
246
247
247
struct bt_tbs_call_cp_originate {
248
248
uint8_t opcode ;
249
- uint8_t uri [0 ];
249
+ uint8_t uri [];
250
250
} __packed ;
251
251
252
252
struct bt_tbs_call_cp_join {
253
253
uint8_t opcode ;
254
- uint8_t call_indexes [0 ];
254
+ uint8_t call_indexes [];
255
255
} __packed ;
256
256
257
257
union bt_tbs_call_cp_t {
You can’t perform that action at this time.
0 commit comments