summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 569bddc0..945c0ded 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -499,6 +499,14 @@ gettime(int line, time4_t dt, char*head)
#endif
char *
+ctime4(time4_t *clock)
+{
+ time_t temp = (time_t)*clock;
+
+ return ctime(&temp);
+}
+
+char *
Cdate(time4_t *clock)
{
static char foo[32];