X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fscpi.c;h=dbcd3f090bf2c7dee2a1629d0a5ee701c1f70248;hb=144f6660d004d60264a57db7150ed90e5f68ea77;hp=3d99954b19b422f5cb78db0e8a737f23c0442861;hpb=999f6730c66fafc76fe32f7090cc740d901a2226;p=libsigrok.git diff --git a/hardware/common/scpi.c b/hardware/common/scpi.c index 3d99954b..dbcd3f09 100644 --- a/hardware/common/scpi.c +++ b/hardware/common/scpi.c @@ -217,7 +217,7 @@ SR_PRIV int sr_scpi_open(struct sr_scpi_dev_inst *scpi) * SR_ERR_MALLOC upon memory allocation errors. */ SR_PRIV int sr_scpi_source_add(struct sr_scpi_dev_inst *scpi, int events, - int timeout, sr_receive_data_callback_t cb, void *cb_data) + int timeout, sr_receive_data_callback cb, void *cb_data) { return scpi->source_add(scpi->priv, events, timeout, cb, cb_data); }