summaryrefslogtreecommitdiff
path: root/libusb/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/sync.c')
-rw-r--r--libusb/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/sync.c b/libusb/sync.c
index a626aa9..1d3796f 100644
--- a/libusb/sync.c
+++ b/libusb/sync.c
@@ -32,7 +32,7 @@
* may wish to consider using the \ref asyncio "asynchronous I/O API" instead.
*/
-static void ctrl_transfer_cb(struct libusb_transfer *transfer)
+static void LIBUSB_API ctrl_transfer_cb(struct libusb_transfer *transfer)
{
int *completed = transfer->user_data;
*completed = 1;
@@ -141,7 +141,7 @@ API_EXPORTED int LIBUSB_API libusb_control_transfer(libusb_device_handle *dev_ha
return r;
}
-static void bulk_transfer_cb(struct libusb_transfer *transfer)
+static void LIBUSB_API bulk_transfer_cb(struct libusb_transfer *transfer)
{
int *completed = transfer->user_data;
*completed = 1;