Mercurial > vim
changeset 4938:bcb84438bb5b v7.3.1214
updated for version 7.3.1214
Problem: Missing declaration for init_users() and realloc_post_list().
(Salman Halim)
Solution: Add the declarations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 16 Jun 2013 22:49:14 +0200 |
parents | 13340704cf27 |
children | 6e9667d3f166 |
files | src/misc1.c src/regexp_nfa.c src/version.c |
diffstat | 3 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -16,6 +16,7 @@ static char_u *vim_version_dir __ARGS((char_u *vimdir)); static char_u *remove_tail __ARGS((char_u *p, char_u *pend, char_u *name)); +static void init_users __ARGS((void)); static int copy_indent __ARGS((int size, char_u *src)); /* All user names (for ~user completion as done by shell). */ @@ -4487,7 +4488,8 @@ get_env_name(xp, idx) * Done only once and then cached. */ static void -init_users() { +init_users() +{ static int lazy_init_done = FALSE; if (lazy_init_done)
--- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -273,6 +273,7 @@ static int nfa_regcomp_start __ARGS((cha static int nfa_get_reganch __ARGS((nfa_state_T *start, int depth)); static int nfa_get_regstart __ARGS((nfa_state_T *start, int depth)); static char_u *nfa_get_match_text __ARGS((nfa_state_T *start)); +static int realloc_post_list __ARGS((void)); static int nfa_recognize_char_class __ARGS((char_u *start, char_u *end, int extra_newl)); static int nfa_emit_equi_class __ARGS((int c)); static int nfa_regatom __ARGS((void));