Skip to content

Commit d21e5bd

Browse files
committed
patch 8.2.5171: dependencies and proto files are outdated
Problem: Dependencies and proto files are outdated. Solution: Update dependencies and proto files. Avoid errors.
1 parent 944cc9c commit d21e5bd

18 files changed

Lines changed: 512 additions & 360 deletions

src/Makefile

Lines changed: 494 additions & 343 deletions
Large diffs are not rendered by default.

src/gui_w32.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,11 @@ typedef int HRESULT;
272272
# undef MSG
273273
typedef int MSG;
274274
typedef int NEWTEXTMETRIC;
275+
typedef int NMHDR;
275276
typedef int OSVERSIONINFO;
276277
typedef int PWORD;
277278
typedef int RECT;
279+
typedef int SIZE;
278280
typedef int UINT;
279281
typedef int WORD;
280282
typedef int WPARAM;

src/os_mswin.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ typedef int HFONT;
9292
typedef int HICON;
9393
typedef int HWND;
9494
typedef int INPUT_RECORD;
95+
typedef int INT_PTR;
9596
typedef int KEY_EVENT_RECORD;
9697
typedef int LOGFONTW;
9798
typedef int LPARAM;

src/proto/buffer.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ void buf_freeall(buf_T *buf, int flags);
1111
void free_wininfo(wininfo_T *wip);
1212
void goto_buffer(exarg_T *eap, int start, int dir, int count);
1313
void handle_swap_exists(bufref_T *old_curbuf);
14-
char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit);
1514
int do_buffer(int action, int start, int dir, int count, int forceit);
15+
char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit);
1616
void set_curbuf(buf_T *buf, int action);
1717
void do_autochdir(void);
1818
void no_write_message(void);

src/proto/cmdexpand.pro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/* cmdexpand.c */
22
int cmdline_fuzzy_complete(char_u *fuzzystr);
33
int nextwild(expand_T *xp, int type, int options, int escape);
4-
char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode);
5-
void ExpandInit(expand_T *xp);
6-
void ExpandCleanup(expand_T *xp);
74
void cmdline_pum_display(void);
85
int cmdline_pum_active(void);
96
void cmdline_pum_remove(void);
107
void cmdline_pum_cleanup(cmdline_info_T *cclp);
118
int cmdline_compl_startcol(void);
9+
char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode);
10+
void ExpandInit(expand_T *xp);
11+
void ExpandCleanup(expand_T *xp);
1212
int showmatches(expand_T *xp, int wildmenu);
1313
char_u *sm_gettail(char_u *s);
1414
char_u *addstar(char_u *fname, int len, int context);
15-
void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
1615
void set_expand_context(expand_T *xp);
16+
void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
1717
int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
1818
void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);
1919
int wildmenu_translate_key(cmdline_info_T *cclp, int key, expand_T *xp, int did_wild_list);

src/proto/getchar.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int start_redo_ins(void);
2424
void stop_redo_ins(void);
2525
int noremap_keys(void);
2626
int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
27-
int ins_char_typebuf(int c, int modifier);
27+
int ins_char_typebuf(int c, int modifiers);
2828
int typebuf_changed(int tb_change_cnt);
2929
int typebuf_typed(void);
3030
int typebuf_maplen(void);

src/proto/gui_x11.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ void gui_mch_free_font(GuiFont font);
2323
void gui_mch_free_fontset(GuiFontset fontset);
2424
GuiFontset gui_mch_get_fontset(char_u *name, int giveErrorIfMissing, int fixed_width);
2525
int fontset_height(XFontSet fs);
26-
int fontset_height2(XFontSet fs);
2726
guicolor_T gui_mch_get_color(char_u *name);
2827
guicolor_T gui_mch_get_rgb_color(int r, int g, int b);
2928
void gui_mch_set_fg_color(guicolor_T color);

src/proto/help.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ void ex_exusage(exarg_T *eap);
1111
void ex_viusage(exarg_T *eap);
1212
void ex_helptags(exarg_T *eap);
1313
/* vim: set ft=c : */
14-

src/proto/if_tcl.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* if_tcl.c */
22
void vim_tcl_init(char *arg);
3-
void vim_tcl_finalize(void);
43
int tcl_enabled(int verbose);
4+
void vim_tcl_finalize(void);
55
void tcl_end(void);
66
void ex_tcl(exarg_T *eap);
77
void ex_tclfile(exarg_T *eap);

src/proto/mbyte.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ void *my_iconv_open(char_u *to, char_u *from);
7878
int iconv_enabled(int verbose);
7979
void iconv_end(void);
8080
void f_getimstatus(typval_T *argvars, typval_T *rettv);
81+
void f_iconv(typval_T *argvars, typval_T *rettv);
8182
int convert_setup(vimconv_T *vcp, char_u *from, char_u *to);
8283
int convert_setup_ext(vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8);
8384
int convert_input(char_u *ptr, int len, int maxlen);
@@ -86,5 +87,4 @@ char_u *string_convert(vimconv_T *vcp, char_u *ptr, int *lenp);
8687
char_u *string_convert_ext(vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp);
8788
void f_setcellwidths(typval_T *argvars, typval_T *rettv);
8889
void f_charclass(typval_T *argvars, typval_T *rettv);
89-
void f_iconv(typval_T *argvars UNUSED, typval_T *rettv);
9090
/* vim: set ft=c : */

0 commit comments

Comments
 (0)