.. | .. |
---|
31 | 31 | #define HCI_TIME_STAMP 3 |
---|
32 | 32 | |
---|
33 | 33 | /* CMSG flags */ |
---|
34 | | -#define HCI_CMSG_DIR 0x0001 |
---|
35 | | -#define HCI_CMSG_TSTAMP 0x0002 |
---|
| 34 | +#define HCI_CMSG_DIR 0x01 |
---|
| 35 | +#define HCI_CMSG_TSTAMP 0x02 |
---|
36 | 36 | |
---|
37 | 37 | struct sockaddr_hci { |
---|
38 | 38 | sa_family_t hci_family; |
---|
.. | .. |
---|
144 | 144 | |
---|
145 | 145 | struct hci_dev_list_req { |
---|
146 | 146 | __u16 dev_num; |
---|
147 | | - struct hci_dev_req dev_req[0]; /* hci_dev_req structures */ |
---|
| 147 | + struct hci_dev_req dev_req[]; /* hci_dev_req structures */ |
---|
148 | 148 | }; |
---|
149 | 149 | |
---|
150 | 150 | struct hci_conn_list_req { |
---|
151 | 151 | __u16 dev_id; |
---|
152 | 152 | __u16 conn_num; |
---|
153 | | - struct hci_conn_info conn_info[0]; |
---|
| 153 | + struct hci_conn_info conn_info[]; |
---|
154 | 154 | }; |
---|
155 | 155 | |
---|
156 | 156 | struct hci_conn_info_req { |
---|
157 | 157 | bdaddr_t bdaddr; |
---|
158 | 158 | __u8 type; |
---|
159 | | - struct hci_conn_info conn_info[0]; |
---|
| 159 | + struct hci_conn_info conn_info[]; |
---|
160 | 160 | }; |
---|
161 | 161 | |
---|
162 | 162 | struct hci_auth_info_req { |
---|