#include <stdio.h>
#include <stdlib.h>
-const char *FILENAME = "tl.log";
+const char *const FILENAME = "tl.log";
void die(const char *message) {
fputs(message, stderr);
exit(1);
}
-const char *encode_time(time_t t) {
+char *encode_time(time_t t) {
struct tm tm;
localtime_r(&t, &tm);
const size_t size = 20;