]> sigrok.org Git - libsigrok.git/commitdiff
hantek-dso: Add missing SR_PRIV.
authorUwe Hermann <redacted>
Wed, 10 Jan 2018 19:05:20 +0000 (20:05 +0100)
committerUwe Hermann <redacted>
Thu, 11 Jan 2018 01:21:50 +0000 (02:21 +0100)
src/hardware/hantek-dso/protocol.c

index 465f925b46c986d83181e422869c776a8692c1a5..55a8f71adc7747b44e3a5c2ce838a33de8634663 100644 (file)
@@ -394,7 +394,7 @@ static int dso2250_set_trigger_samplerate(const struct sr_dev_inst *sdi)
        return SR_OK;
 }
 
-int dso_set_trigger_samplerate(const struct sr_dev_inst *sdi)
+SR_PRIV int dso_set_trigger_samplerate(const struct sr_dev_inst *sdi)
 {
        struct dev_context *devc;
        struct sr_usb_dev_inst *usb;
@@ -688,7 +688,7 @@ static int dso_set_relays(const struct sr_dev_inst *sdi)
        return SR_OK;
 }
 
-int dso_set_voffsets(const struct sr_dev_inst *sdi)
+SR_PRIV int dso_set_voffsets(const struct sr_dev_inst *sdi)
 {
        struct dev_context *devc;
        struct sr_usb_dev_inst *usb;