Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0cede09 authored by Henri Chataing's avatar Henri Chataing
Browse files

Remove extern specifiers from function prototype declarations

The extern specifier is redundant for function prototype
declarations; this change is to check if removing the extern specifier
will fix some of code search's issues with code exploration.

Test: m
Merged-In: I7a01bd9911067db9870648bb9192a21bfd74757c
Change-Id: I47f3d4684296428cc72ce40d364876dccbbfd36a
parent 73c91fe1
Loading
Loading
Loading
Loading
+18 −22
Original line number Diff line number Diff line
@@ -29,26 +29,22 @@ void btm_ble_process_ext_adv_pkt(uint8_t len, const uint8_t* p);
void btm_ble_process_phy_update_pkt(uint8_t len, uint8_t* p);
void btm_ble_read_remote_features_complete(uint8_t* p);
void btm_le_on_advertising_set_terminated(uint8_t* p, uint16_t length);
extern void btm_ble_write_adv_enable_complete(uint8_t* p);
extern void btm_ble_create_ll_conn_complete(tHCI_STATUS status);
extern void btm_ble_ltk_request(uint16_t handle, uint8_t rand[8],
                                uint16_t ediv);
extern void btm_ble_test_command_complete(uint8_t* p);
extern void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code,
void btm_ble_write_adv_enable_complete(uint8_t* p);
void btm_ble_create_ll_conn_complete(tHCI_STATUS status);
void btm_ble_ltk_request(uint16_t handle, uint8_t rand[8], uint16_t ediv);
void btm_ble_test_command_complete(uint8_t* p);
void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code,
                               tBTM_RAND_ENC_CB* p_enc_cplt_cback);
extern bool btm_identity_addr_to_random_pseudo(RawAddress* bd_addr,
bool btm_identity_addr_to_random_pseudo(RawAddress* bd_addr,
                                        tBLE_ADDR_TYPE* p_addr_type,
                                        bool refresh);
extern bool btm_identity_addr_to_random_pseudo_from_address_with_type(
bool btm_identity_addr_to_random_pseudo_from_address_with_type(
    tBLE_BD_ADDR* address_with_type, bool refresh);
extern void btm_ble_read_resolving_list_entry_complete(const uint8_t* p,
void btm_ble_read_resolving_list_entry_complete(const uint8_t* p,
                                                uint16_t evt_len);
extern void btm_ble_remove_resolving_list_entry_complete(uint8_t* p,
                                                         uint16_t evt_len);
extern void btm_ble_add_resolving_list_entry_complete(uint8_t* p,
                                                      uint16_t evt_len);
extern void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len);
extern void btm_ble_process_periodic_adv_pkt(uint8_t len, const uint8_t* p);
extern void btm_ble_process_periodic_adv_sync_est_evt(uint8_t len,
                                                      const uint8_t* p);
extern void btm_ble_process_periodic_adv_sync_lost_evt(uint8_t len, uint8_t* p);
void btm_ble_remove_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len);
void btm_ble_add_resolving_list_entry_complete(uint8_t* p, uint16_t evt_len);
void btm_ble_clear_resolving_list_complete(uint8_t* p, uint16_t evt_len);
void btm_ble_process_periodic_adv_pkt(uint8_t len, const uint8_t* p);
void btm_ble_process_periodic_adv_sync_est_evt(uint8_t len, const uint8_t* p);
void btm_ble_process_periodic_adv_sync_lost_evt(uint8_t len, uint8_t* p);
+5 −5
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@

#include "types/raw_address.h"

extern void btm_delete_stored_link_key_complete(uint8_t* p);
extern void btm_vendor_specific_evt(const uint8_t* p, uint8_t evt_len);
extern void btm_vsc_complete(uint8_t* p, uint16_t cc_opcode, uint16_t evt_len,
void btm_delete_stored_link_key_complete(uint8_t* p);
void btm_vendor_specific_evt(const uint8_t* p, uint8_t evt_len);
void btm_vsc_complete(uint8_t* p, uint16_t cc_opcode, uint16_t evt_len,
                      tBTM_VSC_CMPL_CB* p_vsc_cplt_cback);
extern void btm_read_local_name_complete(uint8_t* p, uint16_t evt_len);
void btm_read_local_name_complete(uint8_t* p, uint16_t evt_len);