Skip to content
Snippets Groups Projects
Commit f8ad8d02 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Globalize to prepare refactor bta/pan/bta_pan_main

Bug: 187824969
Tag: #refactor
Test: gd/cert/run

Change-Id: I0c74c582bd1d50af1890e4b5a3228e0183eaef2c
parent 4651e2c6
No related branches found
No related tags found
No related merge requests found
......@@ -157,8 +157,8 @@ tBTA_PAN_SCB* bta_pan_scb_alloc(void) {
* Returns void
*
******************************************************************************/
static void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event,
tBTA_PAN_DATA* p_data) {
void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event,
tBTA_PAN_DATA* p_data) {
tBTA_PAN_ST_TBL state_table;
uint8_t action;
int i;
......@@ -193,7 +193,7 @@ static void bta_pan_sm_execute(tBTA_PAN_SCB* p_scb, uint16_t event,
* Returns void
*
******************************************************************************/
static void bta_pan_api_enable(tBTA_PAN_DATA* p_data) {
void bta_pan_api_enable(tBTA_PAN_DATA* p_data) {
/* initialize control block */
memset(&bta_pan_cb, 0, sizeof(bta_pan_cb));
......@@ -212,7 +212,7 @@ static void bta_pan_api_enable(tBTA_PAN_DATA* p_data) {
* Returns void
*
******************************************************************************/
static void bta_pan_api_disable(UNUSED_ATTR tBTA_PAN_DATA* p_data) {
void bta_pan_api_disable(UNUSED_ATTR tBTA_PAN_DATA* p_data) {
bta_pan_disable();
}
......@@ -226,7 +226,7 @@ static void bta_pan_api_disable(UNUSED_ATTR tBTA_PAN_DATA* p_data) {
* Returns void
*
******************************************************************************/
static void bta_pan_api_open(tBTA_PAN_DATA* p_data) {
void bta_pan_api_open(tBTA_PAN_DATA* p_data) {
tBTA_PAN_SCB* p_scb;
tBTA_PAN bta_pan;
......
......@@ -23,14 +23,18 @@
*
******************************************************************************/
#include <base/strings/stringprintf.h>
#include <string.h> // memset
#include <cstdint>
#include "main/shim/dumpsys.h"
#include "osi/include/allocator.h"
#include "osi/include/log.h"
#include "osi/include/osi.h" // UNUSED_ATTR
#include "stack/include/bnep_api.h"
#include "stack/include/bt_hdr.h"
#include "stack/include/btm_log_history.h"
#include "stack/include/sdpdefs.h"
#include "stack/pan/pan_int.h"
#include "types/bluetooth/uuid.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment