From 1ac56c2d11da5ffa44db23e1fd0c533d02ab2f66 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 17 Jan 2019 22:28:22 +0100 Subject: patch 8.1.0770: inconsistent use of ELAPSED_FUNC Problem: Inconsistent use of ELAPSED_FUNC. Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a typedef. (Ozaki Kiichi, closes #3815) --- src/misc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc1.c') 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. */ -- cgit v1.2.1