From fb787f4e67d386052f7f33e630f20d169e8b7886 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Tue, 23 Mar 2010 19:42:15 +0000 Subject: enabled reuse of windows_error_str for wdi additional cleanup --- libusb/os/windows_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libusb/os/windows_usb.c') 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]; -- cgit v1.2.1