diff options
author | Bram Moolenaar <bram@vim.org> | 2013-06-17 19:26:36 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-06-17 19:26:36 +0200 |
commit | 44293e909804b8d9491eafcb8a007e8162e0a3a0 (patch) | |
tree | 64e06087bd94c2cf5297bc7b1d155dc3dbfcf201 | |
parent | 5d35f2a79e2cd224b0ba3cb2d9d039e9381f78bd (diff) | |
download | vim-7-3-1215.tar.gz |
Problem: Compiler warning for function not defined.
Solution: Add #ifdef.
-rw-r--r-- | src/misc1.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c index be0d7d02..a9e6c8a5 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -16,7 +16,9 @@ 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)); +#if defined(FEAT_CMDL_COMPL) static void init_users __ARGS((void)); +#endif static int copy_indent __ARGS((int size, char_u *src)); /* All user names (for ~user completion as done by shell). */ diff --git a/src/version.c b/src/version.c index 9dca536a..a18bd788 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 */ /**/ + 1215, +/**/ 1214, /**/ 1213, |