@@ -542,7 +542,7 @@ dc_match_prefix (const void *key, const void *value)
542
542
}
543
543
544
544
static int
545
- dc_match_number_with_prefix (const void * key , const void * value )
545
+ dc_match_prefix_with_number (const void * key , const void * value )
546
546
{
547
547
const char * str = (const char * ) key ;
548
548
const char * prefix = * (const char * const * ) value ;
@@ -565,7 +565,7 @@ dc_match_number_with_prefix (const void *key, const void *value)
565
565
}
566
566
567
567
static int
568
- dc_match_hex_with_prefix (const void * key , const void * value )
568
+ dc_match_prefix_with_hex (const void * key , const void * value )
569
569
{
570
570
const char * str = (const char * ) key ;
571
571
const char * prefix = * (const char * const * ) value ;
@@ -602,7 +602,7 @@ dc_match_oceanic (const void *key, const void *value)
602
602
603
603
const char * p = prefix ;
604
604
605
- return dc_match_number_with_prefix (key , & p );
605
+ return dc_match_prefix_with_number (key , & p );
606
606
}
607
607
608
608
static int
@@ -616,7 +616,7 @@ dc_match_cressi (const void *key, const void *value)
616
616
617
617
const char * p = prefix ;
618
618
619
- return dc_match_hex_with_prefix (key , & p );
619
+ return dc_match_prefix_with_hex (key , & p );
620
620
}
621
621
622
622
static int
@@ -811,7 +811,7 @@ dc_filter_divesystem (const dc_descriptor_t *descriptor, dc_transport_t transpor
811
811
};
812
812
813
813
if (transport == DC_TRANSPORT_BLUETOOTH || transport == DC_TRANSPORT_BLE ) {
814
- return DC_FILTER_INTERNAL (userdata , bluetooth , 0 , dc_match_number_with_prefix );
814
+ return DC_FILTER_INTERNAL (userdata , bluetooth , 0 , dc_match_prefix_with_number );
815
815
}
816
816
817
817
return 1 ;
0 commit comments