Skip to content

Commit 69b7225

Browse files
Thalleyfabiobaltieri
authored andcommitted
tests: Bluetooth: Tester: Audio: Cleanup includes
Update the includes so that only what is actually used is included, and so that everything is used is includes (IWYU). Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
1 parent dcda808 commit 69b7225

40 files changed

+297
-83
lines changed

tests/bluetooth/tester/src/audio/btp/btp_aics.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9-
#include <zephyr/sys/util.h>
9+
#include <stdbool.h>
10+
#include <stdint.h>
11+
12+
#include <zephyr/bluetooth/addr.h>
1013
#include <zephyr/bluetooth/conn.h>
14+
#include <zephyr/sys/util.h>
1115

1216
/*AICS service */
1317
struct btp_aics_instance {

tests/bluetooth/tester/src/audio/btp/btp_ascs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*
66
* SPDX-License-Identifier: Apache-2.0
77
*/
8+
#include <stdint.h>
9+
10+
#include <zephyr/bluetooth/addr.h>
811

912
/* ASCS commands */
1013
#define BTP_ASCS_READ_SUPPORTED_COMMANDS 0x01

tests/bluetooth/tester/src/audio/btp/btp_bap.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9+
#include <stdint.h>
10+
11+
#include <zephyr/bluetooth/addr.h>
912
#include <zephyr/bluetooth/audio/audio.h>
13+
#include <zephyr/bluetooth/iso.h>
1014

1115
/* BAP commands */
1216
#define BTP_BAP_READ_SUPPORTED_COMMANDS 0x01

tests/bluetooth/tester/src/audio/btp/btp_cap.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9+
#include <stdint.h>
10+
11+
#include <zephyr/bluetooth/addr.h>
12+
#include <zephyr/bluetooth/audio/audio.h>
13+
#include <zephyr/bluetooth/iso.h>
14+
#include <zephyr/sys/util_macro.h>
15+
916
/* CAP commands */
1017
#define BTP_CAP_READ_SUPPORTED_COMMANDS 0x01
1118
struct btp_cap_read_supported_commands_rp {

tests/bluetooth/tester/src/audio/btp/btp_cas.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
* SPDX-License-Identifier: Apache-2.0
77
*/
88

9+
#include <stdint.h>
10+
11+
#include <zephyr/bluetooth/addr.h>
12+
#include <zephyr/bluetooth/audio/csip.h>
13+
914
/* CAS commands */
1015
#define BTP_CAS_READ_SUPPORTED_COMMANDS 0x01
1116
struct btp_cas_read_supported_commands_rp {

tests/bluetooth/tester/src/audio/btp/btp_ccp.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
*
66
* SPDX-License-Identifier: Apache-2.0
77
*/
8+
9+
#include <stdbool.h>
10+
#include <stdint.h>
11+
12+
#include <zephyr/bluetooth/addr.h>
813
#include <zephyr/bluetooth/audio/tbs.h>
914

1015
/* CCP commands */

tests/bluetooth/tester/src/audio/btp/btp_csip.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
*
66
* SPDX-License-Identifier: Apache-2.0
77
*/
8+
9+
#include <stdint.h>
10+
11+
#include <zephyr/bluetooth/addr.h>
812
#include <zephyr/bluetooth/audio/csip.h>
913

1014
/* CSIP commands */

tests/bluetooth/tester/src/audio/btp/btp_csis.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
*
66
* SPDX-License-Identifier: Apache-2.0
77
*/
8+
9+
#include <stdint.h>
10+
11+
#include <zephyr/bluetooth/addr.h>
812
#include <zephyr/bluetooth/audio/csip.h>
913

1014
/* CSIS commands */

tests/bluetooth/tester/src/audio/btp/btp_hap.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
*
66
* SPDX-License-Identifier: Apache-2.0
77
*/
8-
#include <zephyr/types.h>
8+
9+
#include <stdint.h>
10+
11+
#include <zephyr/bluetooth/addr.h>
912

1013
/* HAP commands */
1114
#define BTP_HAP_READ_SUPPORTED_COMMANDS 0x01

tests/bluetooth/tester/src/audio/btp/btp_has.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*
66
* SPDX-License-Identifier: Apache-2.0
77
*/
8+
9+
#include <stdint.h>
10+
811
#include <zephyr/bluetooth/addr.h>
912

1013
/* HAS commands */

0 commit comments

Comments
 (0)