From: Uwe Hermann Date: Sun, 20 Feb 2011 12:58:21 +0000 (+0100) Subject: Add sr_ prefix to filter_probes(). X-Git-Tag: libsigrok-0.1.0~321 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c25d2039de05250357f5a215e2cfcf703fbc6625;p=libsigrok.git Add sr_ prefix to filter_probes(). --- 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 ------------------------------------------------------------*/