]> git.scottworley.com Git - tl-append/blobdiff - common.h
Fix memory leak
[tl-append] / common.h
index e442b2c8f466257335639a570719180f80062bc4..3563d00b86b0fd29c99d8a6af72493cffc99d7c2 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,5 +1,9 @@
-extern const char *FILENAME;
+#include <time.h>
+
+extern const char *const FILENAME;
 
 void die(const char *message);
 
 void die_err(const char *message);
+
+char *encode_time(time_t t);