projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9479ce9
)
Windows: Make upperize() in windows_usb.h static
author
Peter Stuge
<peter@stuge.se>
Mon, 13 Jun 2011 20:21:02 +0000
(22:21 +0200)
committer
Peter Stuge
<peter@stuge.se>
Sun, 24 Jul 2011 20:29:09 +0000
(22:29 +0200)
References #97.
libusb/os/windows_usb.h
patch
|
blob
|
history
diff --git
a/libusb/os/windows_usb.h
b/libusb/os/windows_usb.h
index
4cecc33
..
6f930d5
100644
(file)
--- 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++)