Skip to content

Commit e0ab979

Browse files
committed
patch 8.0.0844: wrong function prototype because of missing static
Problem: Wrong function prototype because of missing static. Solution: Add "static".
1 parent 66cd19f commit e0ab979

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/os_win32.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ typedef int HICON;
111111
typedef int HINSTANCE;
112112
typedef int HWND;
113113
typedef int INPUT_RECORD;
114+
typedef int INT;
114115
typedef int KEY_EVENT_RECORD;
115116
typedef int LOGFONT;
116117
typedef int LPBOOL;
@@ -657,13 +658,13 @@ null_libintl_textdomain(const char *domainname UNUSED)
657658
return NULL;
658659
}
659660

660-
int
661+
static int
661662
null_libintl_putenv(const char *envstring UNUSED)
662663
{
663664
return 0;
664665
}
665666

666-
int
667+
static int
667668
null_libintl_wputenv(const wchar_t *envstring UNUSED)
668669
{
669670
return 0;

src/proto/os_win32.pro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ HINSTANCE find_imported_module_by_funcname(HINSTANCE hInst, const char *funcname
44
void *get_dll_import_func(HINSTANCE hInst, const char *funcname);
55
int dyn_libintl_init(void);
66
void dyn_libintl_end(void);
7-
int null_libintl_putenv(const char *envstring);
8-
int null_libintl_wputenv(const wchar_t *envstring);
97
void PlatformId(void);
108
void mch_setmouse(int on);
119
void mch_update_cursor(void);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
844,
772774
/**/
773775
843,
774776
/**/

0 commit comments

Comments
 (0)