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)
diff --git a/src/structs.h b/src/structs.h
index 5439748..6cfbb3c 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3160,7 +3160,7 @@
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 @@
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 */