diff --git a/src/hfp.c b/src/hfp.c index 8e01c6347..a52e9c99e 100644 --- a/src/hfp.c +++ b/src/hfp.c @@ -204,7 +204,7 @@ void hfp_emit_event(hfp_callback_t callback, uint8_t event_subtype, uint8_t valu (*callback)(event, sizeof(event)); } -void hfp_emit_audio_connection_established_event(hfp_callback_t callback, uint8_t value, uint16_t sco_handle){ +static void hfp_emit_audio_connection_established_event(hfp_callback_t callback, uint8_t value, uint16_t sco_handle){ if (!callback) return; uint8_t event[6]; event[0] = HCI_EVENT_HFP_META; diff --git a/src/hfp_ag.c b/src/hfp_ag.c index 17ca69ff9..2d8377852 100644 --- a/src/hfp_ag.c +++ b/src/hfp_ag.c @@ -92,7 +92,7 @@ hfp_ag_indicator_t * get_hfp_ag_indicators(hfp_connection_t * context){ return (hfp_ag_indicator_t *)&(context->ag_indicators); } -hfp_ag_indicator_t * get_ag_indicator_for_name(hfp_connection_t * context, const char * name){ +static hfp_ag_indicator_t * get_ag_indicator_for_name(hfp_connection_t * context, const char * name){ int i; for (i = 0; i < context->ag_indicators_nr; i++){ if (strcmp(context->ag_indicators[i].name, name) == 0){