diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-24 14:03:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 05:03:15 -0700 |
commit | 7a26eb8a567cbc831d4f629f9eccb767a44436b8 (patch) | |
tree | 6677db970252f95ff4d1fd9ce017853c1aa568a1 /src/nvim/profile.c | |
parent | 433bda405e1fa82db23660a73f275cac5ecca95e (diff) | |
download | rneovim-7a26eb8a567cbc831d4f629f9eccb767a44436b8.tar.gz rneovim-7a26eb8a567cbc831d4f629f9eccb767a44436b8.tar.bz2 rneovim-7a26eb8a567cbc831d4f629f9eccb767a44436b8.zip |
refactor: format with uncrustify #15755
Diffstat (limited to 'src/nvim/profile.c')
-rw-r--r-- | src/nvim/profile.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/nvim/profile.c b/src/nvim/profile.c index f9b0bb0a2b..fe7bd2e912 100644 --- a/src/nvim/profile.c +++ b/src/nvim/profile.c @@ -1,17 +1,16 @@ // This is an open source non-commercial project. Dear PVS-Studio, please check // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com -#include <stdio.h> -#include <math.h> #include <assert.h> +#include <math.h> +#include <stdio.h> #include "nvim/assert.h" -#include "nvim/profile.h" -#include "nvim/os/time.h" #include "nvim/func_attr.h" -#include "nvim/os/os_defs.h" - #include "nvim/globals.h" // for the global `time_fd` (startuptime) +#include "nvim/os/os_defs.h" +#include "nvim/os/time.h" +#include "nvim/profile.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "profile.c.generated.h" @@ -97,7 +96,7 @@ proftime_T profile_divide(proftime_T tm, int count) FUNC_ATTR_CONST return profile_zero(); } - return (proftime_T) round((double) tm / (double) count); + return (proftime_T)round((double)tm / (double)count); } /// Adds time `tm2` to `tm1`. |