From dd0e7ce1d5d4b06098fbb398bdfdedb0fb7c281d Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Mon, 7 Sep 2020 14:49:19 -0700 Subject: [PATCH] Profusely Provide Proper Prototypes Towards readable code Bug: 163134718 Tag: #refactor Test: compile & verify basic functions working Change-Id: I1e7e406efc87300271da9dafd42023ee281c8d7f --- stack/btm/btm_inq.cc | 4 ++++ stack/btm/btm_sec.cc | 1 + 2 files changed, 5 insertions(+) diff --git a/stack/btm/btm_inq.cc b/stack/btm/btm_inq.cc index dd7e67e4d..100d176ac 100644 --- a/stack/btm/btm_inq.cc +++ b/stack/btm/btm_inq.cc @@ -118,7 +118,11 @@ const uint16_t BTM_EIR_UUID_LKUP_TBL[BTM_EIR_MAX_SERVICES] = { /******************************************************************************/ /* L O C A L F U N C T I O N P R O T O T Y P E S */ /******************************************************************************/ +void btm_clr_inq_db(const RawAddress* p_bda); void btm_clr_inq_result_flt(void); +void btm_inq_rmt_name_failed_cancelled(void); +tBTM_STATUS btm_initiate_rem_name(const RawAddress& remote_bda, uint8_t origin, + uint64_t timeout_ms, tBTM_CMPL_CB* p_cb); static uint8_t btm_convert_uuid_to_eir_service(uint16_t uuid16); void btm_set_eir_uuid(uint8_t* p_eir, tBTM_INQ_RESULTS* p_results); diff --git a/stack/btm/btm_sec.cc b/stack/btm/btm_sec.cc index 4da91205f..7ea8f9a16 100644 --- a/stack/btm/btm_sec.cc +++ b/stack/btm/btm_sec.cc @@ -49,6 +49,7 @@ #define BTM_SEC_MAX_COLLISION_DELAY (5000) +void btm_inq_stop_on_ssp(void); extern void btm_ble_advertiser_notify_terminated_legacy( uint8_t status, uint16_t connection_handle); extern void bta_dm_remove_device(const RawAddress& bd_addr); -- 2.11.0