summaryrefslogtreecommitdiff
path: root/libusb/libusb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/libusb.h')
-rw-r--r--libusb/libusb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h
index b21a93f..b91b9eb 100644
--- a/libusb/libusb.h
+++ b/libusb/libusb.h
@@ -735,7 +735,7 @@ struct libusb_transfer;
* \param transfer The libusb_transfer struct the callback function is being
* notified about.
*/
-typedef void (*libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
+typedef void (LIBUSB_API *libusb_transfer_cb_fn)(struct libusb_transfer *transfer);
/** \ingroup asyncio
* The generic USB transfer structure. The user populates this structure and