]> git.scottworley.com Git - tl-append/blobdiff - common.h
Encode time in time-logger's format
[tl-append] / common.h
index e442b2c8f466257335639a570719180f80062bc4..8d40a7811bcff1632a42af149bddf34504ee9673 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,5 +1,9 @@
+#include <time.h>
+
 extern const char *FILENAME;
 
 void die(const char *message);
 
 void die_err(const char *message);
+
+const char *encode_time(time_t t);