Those are not suppose to be modified or used outside of each HAL. --- android/hal-av.c | 2 +- android/hal-bluetooth.c | 2 +- android/hal-hidhost.c | 2 +- android/hal-pan.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/hal-av.c b/android/hal-av.c index b1c5276..0fe1b74 100644 --- a/android/hal-av.c +++ b/android/hal-av.c @@ -21,7 +21,7 @@ #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) { diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index 5bad409..2c8a902 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -25,7 +25,7 @@ #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) { diff --git a/android/hal-hidhost.c b/android/hal-hidhost.c index e1a3e97..f941f2f 100644 --- a/android/hal-hidhost.c +++ b/android/hal-hidhost.c @@ -24,7 +24,7 @@ #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) { diff --git a/android/hal-pan.c b/android/hal-pan.c index f05a93b..4ca7cbb 100644 --- a/android/hal-pan.c +++ b/android/hal-pan.c @@ -21,7 +21,7 @@ #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) { -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html