From 96ad0d2596ce468fa8ef6fa74c822124c845e7b2 Mon Sep 17 00:00:00 2001 From: Jakub Pawlowski Date: Fri, 17 Feb 2017 14:20:40 -0800 Subject: [PATCH] Remove unnecessary extern declarations Test: manual Change-Id: I21bdb5952fff359a9ee7091d740ecac13aad640a --- btif/src/btif_ble_advertiser.cc | 2 -- btif/src/btif_ble_scanner.cc | 1 - btif/src/btif_gatt_client.cc | 1 - btif/src/btif_gatt_server.cc | 2 -- 4 files changed, 6 deletions(-) diff --git a/btif/src/btif_ble_advertiser.cc b/btif/src/btif_ble_advertiser.cc index 63af8592b..f30192e30 100644 --- a/btif/src/btif_ble_advertiser.cc +++ b/btif/src/btif_ble_advertiser.cc @@ -32,8 +32,6 @@ using base::Bind; using base::Owned; using std::vector; -extern bt_status_t do_in_jni_thread(const base::Closure& task); - namespace { template diff --git a/btif/src/btif_ble_scanner.cc b/btif/src/btif_ble_scanner.cc index 72d1392c7..ed39cb442 100644 --- a/btif/src/btif_ble_scanner.cc +++ b/btif/src/btif_ble_scanner.cc @@ -50,7 +50,6 @@ using base::Owned; using std::vector; using RegisterCallback = BleScannerInterface::RegisterCallback; -extern bt_status_t do_in_jni_thread(const base::Closure& task); extern const btgatt_callbacks_t* bt_gatt_callbacks; #define SCAN_CBACK_IN_JNI(P_CBACK, ...) \ diff --git a/btif/src/btif_gatt_client.cc b/btif/src/btif_gatt_client.cc index 153f954e3..31a8bb0a2 100644 --- a/btif/src/btif_gatt_client.cc +++ b/btif/src/btif_gatt_client.cc @@ -55,7 +55,6 @@ using base::Bind; using base::Owned; using std::vector; -extern bt_status_t do_in_jni_thread(const base::Closure& task); extern bt_status_t btif_gattc_test_command_impl(int command, btgatt_test_params_t* params); extern const btgatt_callbacks_t* bt_gatt_callbacks; diff --git a/btif/src/btif_gatt_server.cc b/btif/src/btif_gatt_server.cc index 2bd06bbe2..0583235af 100644 --- a/btif/src/btif_gatt_server.cc +++ b/btif/src/btif_gatt_server.cc @@ -52,8 +52,6 @@ using base::Bind; using base::Owned; using std::vector; -extern bt_status_t do_in_jni_thread(const base::Closure& task); - /******************************************************************************* * Constants & Macros ******************************************************************************/ -- 2.11.0