1
0
forked from aniani/vim

patch 8.2.2526: build failure

Problem:    Build failure.
Solution:   Change lookup_scriptvar() arguments.
This commit is contained in:
Bram Moolenaar
2021-02-17 15:05:45 +01:00
parent e0890d678d
commit 527ed38cfa
3 changed files with 3 additions and 2 deletions

View File

@@ -2776,7 +2776,6 @@ get_script_local_ht(void)
lookup_scriptvar(
char_u *name,
size_t len,
void *lvar UNUSED,
cctx_T *dummy UNUSED)
{
hashtab_T *ht = get_script_local_ht();

View File

@@ -60,7 +60,7 @@ void check_vars(char_u *name, int len);
dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload);
dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload);
hashtab_T *get_script_local_ht(void);
int lookup_scriptvar(char_u *name, size_t len, void *lvar, cctx_T *dummy);
int lookup_scriptvar(char_u *name, size_t len, cctx_T *dummy);
hashtab_T *find_var_ht(char_u *name, char_u **varname);
char_u *get_var_value(char_u *name);
void new_script_vars(scid_T id);

View File

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