diff options
author | Bram Moolenaar <bram@vim.org> | 2013-06-16 22:49:14 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-06-16 22:49:14 +0200 |
commit | c9c7fbe7ef67e948b818721c21db1cbe039e3d4f (patch) | |
tree | 79d4e6b988fa20100b113006c3b2ea5c96f0865a | |
parent | c7d72f78321f2cb9df4aaa5757c406b267f7e1df (diff) | |
download | vim-c9c7fbe7ef67e948b818721c21db1cbe039e3d4f.tar.gz |
Problem: Missing declaration for init_users() and realloc_post_list().
(Salman Halim)
Solution: Add the declarations.
-rw-r--r-- | src/misc1.c | 4 | ||||
-rw-r--r-- | src/regexp_nfa.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index eb685cdc..be0d7d02 100644 --- 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) diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 47d7030e..fc87e39f 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -273,6 +273,7 @@ static int nfa_regcomp_start __ARGS((char_u *expr, int re_flags)); 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)); diff --git a/src/version.c b/src/version.c index dbbda7ad..9dca536a 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1214, +/**/ 1213, /**/ 1212, |