From 0a8fed6231c84e4e1b3a7dd6c0d95d3f98207fe0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 14 Feb 2020 13:22:17 +0100 Subject: patch 8.2.0256: time and timer related code is spread out Problem: Time and timer related code is spread out. Solution: Move time and timer related code to a new file. (Yegappan Lakshmanan, closes #5604) --- src/ex_cmds.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/ex_cmds.c') 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 @@ -1678,20 +1678,6 @@ append_redir( (char *)opt, (char *)fname); } -/* - * 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(). * resulting -- cgit v1.2.1