From 48333aea48a5447077ed92fc4aef9f27a69f73b5 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 5 Sep 2017 17:11:32 +1000 Subject: [PATCH] bluedroid: Move fixed_queue.h to implementation of hci_layer.c Avoids pulling types like list_node into the public interface. Closes https://github.com/espressif/esp-idf/issues/948 --- components/bt/bluedroid/hci/hci_layer.c | 1 + components/bt/bluedroid/hci/include/hci_layer.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/hci/hci_layer.c b/components/bt/bluedroid/hci/hci_layer.c index 5b5205dd9a..1c5117c7f2 100644 --- a/components/bt/bluedroid/hci/hci_layer.c +++ b/components/bt/bluedroid/hci/hci_layer.c @@ -32,6 +32,7 @@ #include "alarm.h" #include "thread.h" #include "mutex.h" +#include "fixed_queue.h" typedef struct { uint16_t opcode; diff --git a/components/bt/bluedroid/hci/include/hci_layer.h b/components/bt/bluedroid/hci/include/hci_layer.h index 76f93638ad..5e9b8c695b 100644 --- a/components/bt/bluedroid/hci/include/hci_layer.h +++ b/components/bt/bluedroid/hci/include/hci_layer.h @@ -21,7 +21,6 @@ #include "bt_types.h" #include "allocator.h" -#include "fixed_queue.h" #include "osi.h" #include "future.h" ///// LEGACY DEFINITIONS ///// -- 2.40.0