]> sigrok.org Git - libsigrok.git/commitdiff
Add sr_ prefix to filter_probes().
authorUwe Hermann <redacted>
Sun, 20 Feb 2011 12:58:21 +0000 (13:58 +0100)
committerUwe Hermann <redacted>
Sun, 20 Feb 2011 20:16:23 +0000 (21:16 +0100)
filter.c
sigrok-proto.h

index 69cb45ca725a888686f570fb49adf961aa24b8ce..208a723c7ba152c29eecc6b969a97c7669f0565d 100644 (file)
--- 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;
index 3589024d74326d77b0b46fffd19eb5edc6e7feee..e007fd323ff58fcb4b467cad2bf4501ea42c8af4 100644 (file)
@@ -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 ------------------------------------------------------------*/