fix missing-prototype compile err

This commit is contained in:
Milanka Ringwald 2015-11-12 23:31:31 +01:00
parent 7e23d729e3
commit ee775e9628
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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){