diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-17 15:41:23 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-17 15:41:23 +0100 |
commit | 3c479725f46bf46746ddaf9c3f76ce29a7ff7abf (patch) | |
tree | c4f76be5866d52b26aadb43d77d3c3ca91c31743 | |
parent | 284e73770a90da8e1f77184d3ac07d469f61b1bb (diff) |
Reformatted functions
-rw-r--r-- | FICS/utils.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index cd3daec..a65207b 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -645,16 +645,20 @@ fix_time(char *old_time) return &new_time[0]; } -PUBLIC char *strltime(time_t *clock) +PUBLIC char * +strltime(time_t *clock) { - struct tm *stm = localtime(clock); - return strtime(stm); + struct tm *stm = localtime(clock); + + return strtime(stm); } -PUBLIC char *strgtime(time_t *clock) +PUBLIC char * +strgtime(time_t *clock) { - struct tm *stm = gmtime(clock); - return strtime(stm); + struct tm *stm = gmtime(clock); + + return strtime(stm); } /* This is used only for relative timeing since it reports seconds since |