Windows: Make upperize() in windows_usb.h static
authorPeter Stuge <peter@stuge.se>
Mon, 13 Jun 2011 20:21:02 +0000 (22:21 +0200)
committerPeter Stuge <peter@stuge.se>
Sun, 24 Jul 2011 20:29:09 +0000 (22:29 +0200)
References #97.

libusb/os/windows_usb.h

index 4cecc33..6f930d5 100644 (file)
@@ -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++)