summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-16 22:49:14 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-16 22:49:14 +0200
commit01b626c26e2eadc32e15f43d3ef51423621adfdc (patch)
tree887979e75f11b728c0e3c174aedd98ef3c9d613e /src/misc1.c
parent8c0e322f18c11f4cc2fb6ee2525d47374044a706 (diff)
downloadvim-01b626c26e2eadc32e15f43d3ef51423621adfdc.zip
updated for version 7.3.1214
Problem: Missing declaration for init_users() and realloc_post_list(). (Salman Halim) Solution: Add the declarations.
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index eb685cdc8..be0d7d025 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)