patch 8.0.0844: wrong function prototype because of missing static
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
diff --git a/src/os_win32.c b/src/os_win32.c
index 4921b50..d3cab02 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -111,6 +111,7 @@
typedef int HINSTANCE;
typedef int HWND;
typedef int INPUT_RECORD;
+typedef int INT;
typedef int KEY_EVENT_RECORD;
typedef int LOGFONT;
typedef int LPBOOL;
@@ -657,13 +658,13 @@
return NULL;
}
- int
+ static int
null_libintl_putenv(const char *envstring UNUSED)
{
return 0;
}
- int
+ static int
null_libintl_wputenv(const wchar_t *envstring UNUSED)
{
return 0;