diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-07 15:19:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-07 15:19:26 +0200 |
commit | a8e691d44937fd9d72dcbad2b8c673682277f13d (patch) | |
tree | 195a95292b2d6f85031dce07d245ac2414e2d6e6 /src/structs.h | |
parent | 812ad4f3a2cb33002a24f6b5862c7b375cd68fe4 (diff) | |
download | vim-git-a8e691d44937fd9d72dcbad2b8c673682277f13d.tar.gz |
patch 7.4.2176v7.4.2176
Problem: #ifdefs in main() are complicated.
Solution: Always define vim_main2(). Move params to the file level.
(suggested by Ken Takata)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 543974828..6cfbb3c25 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 */ |