Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
9831:7fd691232941 | 9832:568ea507b0cd |
---|---|
414 #else | 414 #else |
415 return vim_main2(); | 415 return vim_main2(); |
416 #endif | 416 #endif |
417 } | 417 } |
418 #endif /* NO_VIM_MAIN */ | 418 #endif /* NO_VIM_MAIN */ |
419 #endif /* PROTO */ | |
419 | 420 |
420 /* | 421 /* |
421 * vim_main2() is needed for FEAT_MZSCHEME, but we define it always to keep | 422 * vim_main2() is needed for FEAT_MZSCHEME, but we define it always to keep |
422 * things simple. | 423 * things simple. |
423 * It is also defined when NO_VIM_MAIN is defined, but then it's empty. | 424 * It is also defined when NO_VIM_MAIN is defined, but then it's empty. |
877 | 878 |
878 #endif /* NO_VIM_MAIN */ | 879 #endif /* NO_VIM_MAIN */ |
879 | 880 |
880 return 0; | 881 return 0; |
881 } | 882 } |
882 #endif /* PROTO */ | |
883 | 883 |
884 /* | 884 /* |
885 * Initialisation shared by main() and some tests. | 885 * Initialisation shared by main() and some tests. |
886 */ | 886 */ |
887 void | 887 void |