]> git.scottworley.com Git - tl-append/blobdiff - common.h
Hold a lock while appending
[tl-append] / common.h
index e442b2c8f466257335639a570719180f80062bc4..93d722f8f67fb2cb04b65c1b574a729ddb0f8a0b 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);
+
+const char *encode_time(time_t t);