Mercurial > vim
diff src/misc1.c @ 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 | 66803af09906 |
children | 8bbd0ff486b3 |
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)