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

Commit 59a0a3e0 authored by Chris Manton's avatar Chris Manton
Browse files

Stat-ify functions in bta/sys/bta_sys_main

Toward readble code

Bug: 163134718
Tag: #refactor
Test: CtsVerifier

Change-Id: Ibb761116da5ccec5562ac144349f8f419cb10319
parent 0b8c5d5e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -157,7 +157,6 @@ void bta_set_forward_hw_failures(bool value);
void BTA_sys_signal_hw_error();

extern void bta_sys_init(void);
extern void bta_sys_event(BT_HDR* p_msg);
extern void bta_sys_register(uint8_t id, const tBTA_SYS_REG* p_reg);
extern void bta_sys_deregister(uint8_t id);
extern bool bta_sys_is_register(uint8_t id);
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ void BTA_sys_signal_hw_error() {
 * Returns          void
 *
 ******************************************************************************/
void bta_sys_event(BT_HDR* p_msg) {
static void bta_sys_event(BT_HDR* p_msg) {
  uint8_t id;
  bool freebuf = true;