1
0
forked from aniani/vim

patch 7.4.2176

Problem:    #ifdefs in main() are complicated.
Solution:   Always define vim_main2().  Move params to the file level.
            (suggested by Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-08-07 15:19:26 +02:00
parent 812ad4f3a2
commit a8e691d449
6 changed files with 45 additions and 52 deletions

View File

@@ -3160,7 +3160,7 @@ struct timer_S
timer_T *tr_prev;
proftime_T tr_due; /* when the callback is to be invoked */
int tr_repeat; /* number of times to repeat, -1 forever */
long tr_interval; /* only set when it repeats */
long tr_interval; /* msec */
char_u *tr_callback; /* allocated */
partial_T *tr_partial;
#endif
@@ -3180,6 +3180,8 @@ typedef struct
int argc;
char **argv;
char_u *fname; /* first file to edit */
int evim_mode; /* started as "evim" */
char_u *use_vimrc; /* vimrc from -u argument */