summaryrefslogtreecommitdiff
path: root/libusb/os/windows_usb.c
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-23 19:42:15 +0000
committerPete Batard <pbatard@gmail.com>2010-03-23 19:42:15 +0000
commitfb787f4e67d386052f7f33e630f20d169e8b7886 (patch)
tree0beb749262ab391b864d171d562492826ded6993 /libusb/os/windows_usb.c
parentad262a68bb58b86a1ae6e2d6b3cce2d847cd3d9b (diff)
downloadlibusb-fb787f4e67d386052f7f33e630f20d169e8b7886.tar.gz
enabled reuse of windows_error_str for wdir225
additional cleanup
Diffstat (limited to 'libusb/os/windows_usb.c')
-rw-r--r--libusb/os/windows_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c
index ff9f397..3d931a9 100644
--- a/libusb/os/windows_usb.c
+++ b/libusb/os/windows_usb.c
@@ -182,7 +182,7 @@ static char* guid_to_string(const GUID guid)
* Converts a windows error to human readable string
* uses retval as errorcode, or, if 0, use GetLastError()
*/
-static char *windows_error_str(uint32_t retval)
+char *windows_error_str(uint32_t retval)
{
static char err_string[ERR_BUFFER_SIZE];