diff options
author | Pete Batard <pbatard@gmail.com> | 2010-03-25 19:22:00 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-03-25 19:22:00 +0000 |
commit | f451c11eb3d4cfbec9cb9537222cf07cdec18bf5 (patch) | |
tree | b9d19e3d5482e625b09c68a4b82def65747a2066 | |
parent | fb787f4e67d386052f7f33e630f20d169e8b7886 (diff) | |
download | libusb-f451c11eb3d4cfbec9cb9537222cf07cdec18bf5.tar.gz |
revert previous change as well as wchar_to_utf8 to staticr226
-rw-r--r-- | libusb/os/windows_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c index 3d931a9..8ab7739 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_usb.c @@ -137,7 +137,7 @@ bool api_hid_available = false; * Converts a WCHAR string to UTF8 (allocate returned string) * Returns NULL on error */ -char* wchar_to_utf8(LPCWSTR wstr) +static char* wchar_to_utf8(LPCWSTR wstr) { int size; char* str; @@ -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() */ -char *windows_error_str(uint32_t retval) +static char *windows_error_str(uint32_t retval) { static char err_string[ERR_BUFFER_SIZE]; |