Mercurial > vim
diff src/main.c @ 9832:568ea507b0cd v7.4.2191
commit https://github.com/vim/vim/commit/a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 10 20:45:07 2016 +0200
patch 7.4.2191
Problem: No automatic prototype for vim_main2().
Solution: Move the #endif. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 10 Aug 2016 21:00:07 +0200 |
parents | 4cb5ab124239 |
children | 4aead6a9b7a9 |
line wrap: on
line diff
--- a/src/main.c +++ b/src/main.c @@ -416,6 +416,7 @@ main #endif } #endif /* NO_VIM_MAIN */ +#endif /* PROTO */ /* * vim_main2() is needed for FEAT_MZSCHEME, but we define it always to keep @@ -879,7 +880,6 @@ vim_main2(void) return 0; } -#endif /* PROTO */ /* * Initialisation shared by main() and some tests.