aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/utils.c')
-rw-r--r--FICS/utils.c16
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