]> granicus.if.org Git - vim/commitdiff
patch 8.0.0844: wrong function prototype because of missing static v8.0.0844
authorBram Moolenaar <Bram@vim.org>
Wed, 2 Aug 2017 21:18:25 +0000 (23:18 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 2 Aug 2017 21:18:25 +0000 (23:18 +0200)
Problem:    Wrong function prototype because of missing static.
Solution:   Add "static".

src/os_win32.c
src/proto/os_win32.pro
src/version.c

index 4921b50f3986abf1e5fa2316979d2833ff35a919..d3cab022348da4c36c2a6daaad80e03770d38e18 100644 (file)
@@ -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 *domainname UNUSED)
     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;
index 754df4f97534509c42f204f0997b0656cbc58d02..4e0629867a4439f97fdc88ed12795dc475fc8de2 100644 (file)
@@ -4,8 +4,6 @@ HINSTANCE find_imported_module_by_funcname(HINSTANCE hInst, const char *funcname
 void *get_dll_import_func(HINSTANCE hInst, const char *funcname);
 int dyn_libintl_init(void);
 void dyn_libintl_end(void);
-int null_libintl_putenv(const char *envstring);
-int null_libintl_wputenv(const wchar_t *envstring);
 void PlatformId(void);
 void mch_setmouse(int on);
 void mch_update_cursor(void);
index 2db4ca9214ad39d5fc67b50359dd790b8c5dbe0d..ee0a081bf8ec8313c5eb58c6cb81fc94f46bc105 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    844,
 /**/
     843,
 /**/