]> git.scottworley.com Git - tl-append/blobdiff - common.h
Release 1.0.1
[tl-append] / common.h
index 8d40a7811bcff1632a42af149bddf34504ee9673..2aecf2e4b9f0b0d2faff2078ccfc71833f58bee3 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,9 +1,26 @@
+/*
+ * tl-append: time-logger appending shell
+ * Copyright (C) 2023  Scott Worley <scottworley@scottworley.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ */
+
 #include <time.h>
 
-extern const char *FILENAME;
+extern const char *const FILENAME;
 
 void die(const char *message);
 
 void die_err(const char *message);
 
-const char *encode_time(time_t t);
+char *encode_time(time_t t);