From: Uwe Hermann Date: Wed, 10 Jan 2018 19:05:20 +0000 (+0100) Subject: hantek-dso: Add missing SR_PRIV. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=be702d16d0e37602a312b00d06f6c4e2c3a7e55a;p=libsigrok.git hantek-dso: Add missing SR_PRIV. --- diff --git a/src/hardware/hantek-dso/protocol.c b/src/hardware/hantek-dso/protocol.c index 465f925b..55a8f71a 100644 --- a/src/hardware/hantek-dso/protocol.c +++ b/src/hardware/hantek-dso/protocol.c @@ -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;