diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-17 22:28:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-17 22:28:22 +0100 |
commit | 1ac56c2d11da5ffa44db23e1fd0c533d02ab2f66 (patch) | |
tree | 6eba7bed7de78a1efe65c23aeec28b1f93b3a2e5 /src/misc1.c | |
parent | 3020ccb113d397ddf474001dc00a1916ad7abdee (diff) | |
download | vim-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.c | 2 |
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. */ |