X-Git-Url: http://git.scottworley.com/tl-append/blobdiff_plain/bab98a3a230bcc2161254e5796ec97e1391b4907..refs/heads/master:/common.h?ds=sidebyside diff --git a/common.h b/common.h index 8d40a78..2aecf2e 100644 --- a/common.h +++ b/common.h @@ -1,9 +1,26 @@ +/* + * tl-append: time-logger appending shell + * Copyright (C) 2023 Scott Worley + * + * 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 . + */ + #include -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);