]> sigrok.org Git - libsigrok.git/commit
usb: Fix two compiler warnings on Windows.
authorUwe Hermann <redacted>
Thu, 16 Jan 2014 23:26:30 +0000 (00:26 +0100)
committerUwe Hermann <redacted>
Thu, 16 Jan 2014 23:38:33 +0000 (00:38 +0100)
commitdcc94340bd4c17f74c57a9ec9a2d8d9c1f06dd9f
tree4e931e29f0e239f52f2e73be5bb6873da7e98f6e
parentc06c24d2d321c4adb2274402857b8811485c40ac
usb: Fix two compiler warnings on Windows.

  CC       libsigrok_hw_common_la-usb.lo
usb.c:241:18: warning: no previous prototype for 'usb_thread'
[-Wmissing-prototypes]
 SR_PRIV gpointer usb_thread(gpointer data)
                  ^
usb.c:256:13: warning: no previous prototype for 'usb_callback'
[-Wmissing-prototypes]
 SR_PRIV int usb_callback(int fd, int revents, void *cb_data)
             ^
hardware/common/usb.c