X-Git-Url: http://git.scottworley.com/tl-append/blobdiff_plain/bab98a3a230bcc2161254e5796ec97e1391b4907..9b76e9d2c7bdd413e36432b64a0022852a484dea:/common.c diff --git a/common.c b/common.c index 1bc1102..88e7b73 100644 --- a/common.c +++ b/common.c @@ -4,7 +4,7 @@ #include #include -const char *FILENAME = "tl.log"; +const char *const FILENAME = "tl.log"; void die(const char *message) { fputs(message, stderr); @@ -17,7 +17,7 @@ void die_err(const char *message) { 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;