diff src/os_win32.c @ 11929:3457728d1a58 v8.0.0844

patch 8.0.0844: wrong function prototype because of missing static commit https://github.com/vim/vim/commit/e0ab979fa7404592eaf4180e6d7d3af4c7787e8f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 2 23:18:25 2017 +0200 patch 8.0.0844: wrong function prototype because of missing static Problem: Wrong function prototype because of missing static. Solution: Add "static".
author Christian Brabandt <cb@256bit.org>
date Wed, 02 Aug 2017 23:30:04 +0200
parents bafbdbc64bbe
children 74e45c11b754
line wrap: on
line diff
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -111,6 +111,7 @@ typedef int HICON;
 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 @@ null_libintl_textdomain(const char *doma
     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;