diff options
author | Peter Stuge <peter@stuge.se> | 2011-06-13 22:21:02 +0200 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-06-15 02:45:20 +0200 |
commit | 9981fbae761688595b19f2d23217766dba054dbe (patch) | |
tree | 28a2ec3d3292a3e15da32cd9e7e237af45b783be | |
parent | 347198e07f6fe3f73c4b914c776851c2a7db5ca0 (diff) | |
download | libusb-9981fbae761688595b19f2d23217766dba054dbe.tar.gz |
Windows: Make upperize() in windows_usb.h static
References #97.
-rw-r--r-- | libusb/os/windows_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h index 4cecc33..6f930d5 100644 --- a/libusb/os/windows_usb.h +++ b/libusb/os/windows_usb.h @@ -70,7 +70,7 @@ extern char *_strdup(const char *strSource); #define safe_sprintf _snprintf #define safe_unref_device(dev) do {if (dev != NULL) {libusb_unref_device(dev); dev = NULL;}} while(0) #define wchar_to_utf8_ms(wstr, str, strlen) WideCharToMultiByte(CP_UTF8, 0, wstr, -1, str, strlen, NULL, NULL) -inline void upperize(char* str) { +static inline void upperize(char* str) { size_t i; if (str == NULL) return; for (i=0; i<safe_strlen(str); i++) |