Those are not suppose to be modified or used outside of each HAL.
#include "hal-log.h"
#include "hal.h"
-const btav_callbacks_t *cbs = NULL;
+static const btav_callbacks_t *cbs = NULL;
static bool interface_ready(void)
{
#include "hal-msg.h"
#include "hal-ipc.h"
-bt_callbacks_t *bt_hal_cbacks = NULL;
+static const bt_callbacks_t *bt_hal_cbacks = NULL;
static void handle_adapter_state_changed(void *buf)
{
#include "hal-msg.h"
#include "hal-ipc.h"
-bthh_callbacks_t *bt_hh_cbacks;
+static const bthh_callbacks_t *bt_hh_cbacks;
static bool interface_ready(void)
{
#include "hal-log.h"
#include "hal.h"
-const btpan_callbacks_t *bt_pan_cbacks = NULL;
+static const btpan_callbacks_t *bt_pan_cbacks = NULL;
static bool interface_ready(void)
{