diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-14 13:22:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-14 13:22:17 +0100 |
commit | 0a8fed6231c84e4e1b3a7dd6c0d95d3f98207fe0 (patch) | |
tree | b0545af3bfa25ced1890c33fe9c1facf1e749358 /src/ex_cmds.c | |
parent | f2cecb6c10909184281e31a8f968200f3841562d (diff) | |
download | vim-git-0a8fed6231c84e4e1b3a7dd6c0d95d3f98207fe0.tar.gz |
patch 8.2.0256: time and timer related code is spread outv8.2.0256
Problem: Time and timer related code is spread out.
Solution: Move time and timer related code to a new file. (Yegappan
Lakshmanan, closes #5604)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 881e6f926..0eeb3f339 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1679,20 +1679,6 @@ append_redir( } /* - * Return the current time in seconds. Calls time(), unless test_settime() - * was used. - */ - time_T -vim_time(void) -{ -# ifdef FEAT_EVAL - return time_for_testing == 0 ? time(NULL) : time_for_testing; -# else - return time(NULL); -# endif -} - -/* * Implementation of ":fixdel", also used by get_stty(). * <BS> resulting <Del> * ^? ^H |