From 56509ab16c8d2225182eb0400e5c6a4900870391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 17 Sep 2021 22:34:52 +0200 Subject: Fix mktpl bug --- misc.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 misc.c (limited to 'misc.c') diff --git a/misc.c b/misc.c deleted file mode 100644 index e5bdeef..0000000 --- a/misc.c +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include -#include -#include "misc.h" - -char * -date(int timestamp) -{ - char *buf; - time_t *t; - - if(!(buf = malloc(20))) - err(1, "malloc"); - - t = localtime(×tamp); - strftime(buf, 20, "%Y-%m-%d %H:%M", t); - - return buf; -} \ No newline at end of file -- cgit v1.2.3