diff --git a/filter.c b/filter.c index 69cb45ca..208a723c 100644 --- a/filter.c +++ b/filter.c @@ -27,9 +27,9 @@ * it -- to a sample taking up only as much space as required, with * unused probes removed. */ -int filter_probes(int in_unitsize, int out_unitsize, int *probelist, - const char *data_in, uint64_t length_in, char **data_out, - uint64_t *length_out) +int sr_filter_probes(int in_unitsize, int out_unitsize, int *probelist, + const char *data_in, uint64_t length_in, char **data_out, + uint64_t *length_out) { unsigned int in_offset, out_offset; int num_enabled_probes, out_bit, i; diff --git a/sigrok-proto.h b/sigrok-proto.h index 3589024d..e007fd32 100644 --- a/sigrok-proto.h +++ b/sigrok-proto.h @@ -56,9 +56,9 @@ gboolean sr_device_has_hwcap(struct sr_device *device, int hwcap); /*--- filter.c --------------------------------------------------------------*/ -int filter_probes(int in_unitsize, int out_unitsize, int *probelist, - const char *data_in, uint64_t length_in, char **data_out, - uint64_t *length_out); +int sr_filter_probes(int in_unitsize, int out_unitsize, int *probelist, + const char *data_in, uint64_t length_in, char **data_out, + uint64_t *length_out); /*--- hwplugin.c ------------------------------------------------------------*/