summaryrefslogtreecommitdiff
path: root/libusb
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
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')
-rw-r--r--libusb/io.c2
-rw-r--r--libusb/libusb-1.0.def1
2 files changed, 3 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)
{
diff --git a/libusb/libusb-1.0.def b/libusb/libusb-1.0.def
index 24c4c6b..3261694 100644
--- a/libusb/libusb-1.0.def
+++ b/libusb/libusb-1.0.def
@@ -53,3 +53,4 @@ EXPORTS
libusb_get_next_timeout
libusb_get_pollfds
libusb_set_pollfd_notifiers
+ libusb_strerror