From f032a44114fde2864d908e8d3c010b02f2ebd3f8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 20 Jan 2016 16:23:34 +0100 Subject: [PATCH] fix test compile --- test/ble_client/Makefile | 10 +++++----- test/hfp/Makefile | 16 ++++++++-------- ...ed_list_test.c => btstack_linked_list_test.c} | 0 test/security_manager/mock.c | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) rename test/linked_list/{linked_list_test.c => btstack_linked_list_test.c} (100%) diff --git a/test/ble_client/Makefile b/test/ble_client/Makefile index afc8c2124..413a79d07 100644 --- a/test/ble_client/Makefile +++ b/test/ble_client/Makefile @@ -13,15 +13,15 @@ VPATH += ${BTSTACK_ROOT}/platform/posix COMMON = \ ad_parser.c \ - btstack_linked_list.c \ + btstack_linked_list.c \ btstack_memory.c \ + btstack_memory_pool.c \ + btstack_run_loop.c \ + btstack_run_loop_posix.c \ + btstack_util.c \ hci.c \ hci_cmds.c \ hci_dump.c \ - btstack_memory_pool.c \ - run_loop.c \ - btstack_run_loop_posix.c \ - btstack_util.c \ COMMON_OBJ = $(COMMON:.c=.o) diff --git a/test/hfp/Makefile b/test/hfp/Makefile index 313bd7d55..b21eb3bfb 100644 --- a/test/hfp/Makefile +++ b/test/hfp/Makefile @@ -10,36 +10,36 @@ include ${BTSTACK_ROOT}/example/embedded/Makefile.inc COMMON = \ sdp.c \ sdp_query_rfcomm.c \ - btstack_linked_list.c \ + btstack_linked_list.c \ btstack_memory.c \ + btstack_memory_pool.c \ + btstack_run_loop.c \ + btstack_run_loop_posix.c \ + btstack_util.c \ hci.c \ hci_cmds.c \ hci_dump.c \ l2cap.c \ l2cap_signaling.c \ - btstack_memory_pool.c \ remote_device_db_memory.c \ rfcomm.c \ - run_loop.c \ - btstack_run_loop_posix.c \ sdp_client.c \ sdp_parser.c \ sdp_query_util.c \ sdp_util.c \ - btstack_util.c \ MOCK = \ mock.c \ test_sequences.c \ - btstack_linked_list.c \ + btstack_linked_list.c \ btstack_memory.c \ hci_cmds.c \ hci_dump.c \ - btstack_memory_pool.c \ + btstack_memory_pool.c \ remote_device_db_memory.c \ sdp_util.c \ - btstack_util.c \ + btstack_util.c \ COMMON_OBJ = $(COMMON:.c=.o) MOCK_OBJ = $(MOCK:.c=.o) diff --git a/test/linked_list/linked_list_test.c b/test/linked_list/btstack_linked_list_test.c similarity index 100% rename from test/linked_list/linked_list_test.c rename to test/linked_list/btstack_linked_list_test.c diff --git a/test/security_manager/mock.c b/test/security_manager/mock.c index 9c61234e1..bd836415d 100644 --- a/test/security_manager/mock.c +++ b/test/security_manager/mock.c @@ -23,7 +23,7 @@ static btstack_linked_list_t connections; void mock_init(void){ the_connection.item.next = NULL; - connections = (linked_item*) &the_connection; + connections = (btstack_linked_item*) &the_connection; } uint8_t * mock_packet_buffer(void){