1
0
forked from aniani/vim

patch 8.0.0844: wrong function prototype because of missing static

Problem:    Wrong function prototype because of missing static.
Solution:   Add "static".
This commit is contained in:
Bram Moolenaar
2017-08-02 23:18:25 +02:00
parent 66cd19fef1
commit e0ab979fa7
3 changed files with 5 additions and 4 deletions

View File

@@ -111,6 +111,7 @@ typedef int HICON;
typedef int HINSTANCE; typedef int HINSTANCE;
typedef int HWND; typedef int HWND;
typedef int INPUT_RECORD; typedef int INPUT_RECORD;
typedef int INT;
typedef int KEY_EVENT_RECORD; typedef int KEY_EVENT_RECORD;
typedef int LOGFONT; typedef int LOGFONT;
typedef int LPBOOL; typedef int LPBOOL;
@@ -657,13 +658,13 @@ null_libintl_textdomain(const char *domainname UNUSED)
return NULL; return NULL;
} }
int static int
null_libintl_putenv(const char *envstring UNUSED) null_libintl_putenv(const char *envstring UNUSED)
{ {
return 0; return 0;
} }
int static int
null_libintl_wputenv(const wchar_t *envstring UNUSED) null_libintl_wputenv(const wchar_t *envstring UNUSED)
{ {
return 0; return 0;

View 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); void *get_dll_import_func(HINSTANCE hInst, const char *funcname);
int dyn_libintl_init(void); int dyn_libintl_init(void);
void dyn_libintl_end(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 PlatformId(void);
void mch_setmouse(int on); void mch_setmouse(int on);
void mch_update_cursor(void); void mch_update_cursor(void);

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
844,
/**/ /**/
843, 843,
/**/ /**/