win_utf8_io: Fix compile error
authorErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 1 Feb 2016 22:33:12 +0000 (09:33 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Mon, 1 Feb 2016 22:33:16 +0000 (09:33 +1100)
The function `set_filename_utf8` was defined as static, but the
prototype was missing `static`.

src/share/win_utf8_io/win_utf8_io.c

index 2bf0c93..6b5c56c 100644 (file)
@@ -103,7 +103,7 @@ static wchar_t *wchar_from_utf8(const char *str)
        return widestr;
 }
 
-void set_filename_utf8(int b);
+static void set_filename_utf8(int b);
 
 /* retrieve WCHAR commandline, expand wildcards and convert everything to UTF-8 */
 int get_utf8_argv(int *argc, char ***argv)