summaryrefslogtreecommitdiff
path: root/libusb/core.c
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-26 02:05:53 +0000
committerPete Batard <pbatard@gmail.com>2010-01-26 02:05:53 +0000
commit8271c03ee4b052c8708fadfce0b1c611cc890a81 (patch)
tree69c8b2a73d377d328d4b53b01a3accd890b1b003 /libusb/core.c
parent03265db68a3aa3a5737417a4081c603c96e29d2c (diff)
downloadlibusb-8271c03ee4b052c8708fadfce0b1c611cc890a81.tar.gz
r117: fixed missing API_EXPORTED for the new libusb_strerror call
Diffstat (limited to 'libusb/core.c')
-rw-r--r--libusb/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/core.c b/libusb/core.c
index a7355b5..1eb4f80 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -1624,7 +1624,7 @@ void usbi_log(struct libusb_context *ctx, enum usbi_log_level level,
* \param errcode the error code whose description is desired
* \returns a short description of the error code in English
*/
-const char* libusb_strerror(enum libusb_error errcode)
+API_EXPORTED const char* libusb_strerror(enum libusb_error errcode)
{
switch (errcode)
{