diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-14 18:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 09:13:34 -0700 |
commit | 0a83017fe95df0290adb98ec6bf457b96a3fab17 (patch) | |
tree | 41362f11095eff22795474e035c5d91d3fb4a7d8 /src/nvim/os/time.c | |
parent | 516775e9d84c5eda9c1d014ff052132737361d90 (diff) | |
download | rneovim-0a83017fe95df0290adb98ec6bf457b96a3fab17.tar.gz rneovim-0a83017fe95df0290adb98ec6bf457b96a3fab17.tar.bz2 rneovim-0a83017fe95df0290adb98ec6bf457b96a3fab17.zip |
refactor: format files with uncrustify #15663
Diffstat (limited to 'src/nvim/os/time.c')
-rw-r--r-- | src/nvim/os/time.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/nvim/os/time.c b/src/nvim/os/time.c index 9ea74716aa..d9f4fe9e37 100644 --- a/src/nvim/os/time.c +++ b/src/nvim/os/time.c @@ -3,15 +3,14 @@ #include <assert.h> #include <limits.h> - #include <uv.h> #include "nvim/assert.h" -#include "nvim/os/time.h" -#include "nvim/os/input.h" #include "nvim/event/loop.h" -#include "nvim/os/os.h" #include "nvim/main.h" +#include "nvim/os/input.h" +#include "nvim/os/os.h" +#include "nvim/os/time.h" static uv_mutex_t delay_mutex; static uv_cond_t delay_cond; @@ -169,8 +168,7 @@ struct tm *os_localtime(struct tm *result) FUNC_ATTR_NONNULL_ALL /// @param result[out] Pointer to a 'char' where the result should be placed /// @param result_len length of result buffer /// @return human-readable string of current local time -char *os_ctime_r(const time_t *restrict clock, char *restrict result, - size_t result_len) +char *os_ctime_r(const time_t *restrict clock, char *restrict result, size_t result_len) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_RET { struct tm clock_local; @@ -219,5 +217,5 @@ char *os_strptime(const char *str, const char *format, struct tm *tm) Timestamp os_time(void) FUNC_ATTR_WARN_UNUSED_RESULT { - return (Timestamp) time(NULL); + return (Timestamp)time(NULL); } |