]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/scpi.c
Don't define names ending with _t (POSIX reserved).
[libsigrok.git] / hardware / common / scpi.c
index 3d99954b19b422f5cb78db0e8a737f23c0442861..dbcd3f090bf2c7dee2a1629d0a5ee701c1f70248 100644 (file)
@@ -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);
 }