summaryrefslogtreecommitdiff
path: root/libusb/io.c
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-26 01:46:17 +0000
committerPete Batard <pbatard@gmail.com>2010-01-26 01:46:17 +0000
commit03265db68a3aa3a5737417a4081c603c96e29d2c (patch)
tree38eb2b7990b1f2a5ac233a0ec44ec587eefd77cd /libusb/io.c
parent9459dd37f04fe5de141b8a3f22ead1b41b5e6b82 (diff)
downloadlibusb-03265db68a3aa3a5737417a4081c603c96e29d2c.tar.gz
r116: DDK build completion (Orin Eman):
- lsusb/xusb sources + ddk_build call - missing libusb_strerror in .def - removed "handle_timeouts_locked unused" warning in in io.c for MinGW
Diffstat (limited to 'libusb/io.c')
-rw-r--r--libusb/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libusb/io.c b/libusb/io.c
index 7de9b46..c93b074 100644
--- a/libusb/io.c
+++ b/libusb/io.c
@@ -1716,6 +1716,7 @@ static int handle_timeouts(struct libusb_context *ctx)
/* Note: there is code duplication between handle_timeouts_locked and
* handle_timeouts, as tranfer cancellation from the backend requires
* flying_transfers locks that are not set wholesale */
+#ifndef OS_WINDOWS
static int handle_timeouts_locked(struct libusb_context *ctx)
{
int r;
@@ -1757,6 +1758,7 @@ static int handle_timeouts_locked(struct libusb_context *ctx)
}
return 0;
}
+#endif
static int handle_timeouts(struct libusb_context *ctx)
{