]> sigrok.org Git - libsigrok.git/blobdiff - sigrok-internal.h
sr: Fix/document probe names.
[libsigrok.git] / sigrok-internal.h
index 1a297f9988a2ceccd546943881fbecb58fee513a..c60b5da66265868ac7b14911af834324e498c225 100644 (file)
@@ -53,6 +53,8 @@ struct sr_serial_dev_inst {
        int fd;
 };
 
+#define GTV_TO_MSEC(gtv)       (gtv.tv_sec * 1000 + gtv.tv_usec / 1000)
+
 #ifdef HAVE_LIBUSB_1_0
 /* USB-specific instances */
 SR_PRIV struct sr_usb_dev_inst *sr_usb_dev_inst_new(uint8_t bus,
@@ -76,7 +78,6 @@ SR_PRIV int sr_err(const char *format, ...);
 
 /*--- hwplugin.c ------------------------------------------------------------*/
 
-SR_PRIV int sr_hw_load_all(void);
 SR_PRIV void sr_hw_cleanup_all(void);
 
 /*--- session.c -------------------------------------------------------------*/