aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/profile.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-12 12:58:52 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-12 13:44:37 +0800
commitc7ca94ba7f7a76caf51ed62b521f04c97c6aeed5 (patch)
tree88e227c21201ed7ae438a3b011d673ce8e74d7ea /src/nvim/profile.h
parent0d9e09bf670724caec9939a7165e25c4abc40291 (diff)
downloadrneovim-c7ca94ba7f7a76caf51ed62b521f04c97c6aeed5.tar.gz
rneovim-c7ca94ba7f7a76caf51ed62b521f04c97c6aeed5.tar.bz2
rneovim-c7ca94ba7f7a76caf51ed62b521f04c97c6aeed5.zip
vim-patch:8.1.1684: profiling functionality is spread out
Problem: Profiling functionality is spread out. Solution: Put profiling functionality in profiling.c. (Yegappan Lakshmanan, closes vim/vim#4666) https://github.com/vim/vim/commit/fa55cfc69d2b14761e2a8bd85bc1e0d82df770aa Move proftime_T to types.h for now to avoid recursive #include.
Diffstat (limited to 'src/nvim/profile.h')
-rw-r--r--src/nvim/profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/profile.h b/src/nvim/profile.h
index 17c35c5eb7..63f4e72027 100644
--- a/src/nvim/profile.h
+++ b/src/nvim/profile.h
@@ -4,7 +4,7 @@
#include <stdint.h>
#include <time.h>
-typedef uint64_t proftime_T;
+#include "nvim/ex_cmds_defs.h"
#define TIME_MSG(s) do { \
if (time_fd != NULL) time_msg(s, NULL); \