summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-17 22:28:22 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-17 22:28:22 +0100
commit1ac56c2d11da5ffa44db23e1fd0c533d02ab2f66 (patch)
tree6eba7bed7de78a1efe65c23aeec28b1f93b3a2e5 /src/misc1.c
parent3020ccb113d397ddf474001dc00a1916ad7abdee (diff)
downloadvim-git-1ac56c2d11da5ffa44db23e1fd0c533d02ab2f66.tar.gz
patch 8.1.0770: inconsistent use of ELAPSED_FUNCv8.1.0770
Problem: Inconsistent use of ELAPSED_FUNC. Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a typedef. (Ozaki Kiichi, closes #3815)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 0a6dc8721..a4b56286a 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3891,7 +3891,7 @@ vim_beep(
{
#ifdef ELAPSED_FUNC
static int did_init = FALSE;
- static ELAPSED_TYPE start_tv;
+ static elapsed_T start_tv;
/* Only beep once per half a second, otherwise a sequence of beeps
* would freeze Vim. */