From a77062ce3dc9a99ad0662010cc7eeb00dd5036a6 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Thu, 28 Jan 2021 21:30:30 -0500 Subject: Added license information! --- src/ct1986.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) (limited to 'src/ct1986.c') diff --git a/src/ct1986.c b/src/ct1986.c index 213f3ff..0872ca7 100644 --- a/src/ct1986.c +++ b/src/ct1986.c @@ -1,3 +1,23 @@ +/* + ct1986, an interface to the ctak library designed to be embedded on + a Raspberry Pi Zero + + Copyright (C) 2021, tslil clingman + + 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, either version 3 of the License, or + (at your option) any later version. + + 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 #include @@ -137,11 +157,18 @@ input_is_not_turn(const char *line) { return EXIT_SUCCESS; } -int -main(int argc, char **argv) { +const char* license = "ct1986, an interface to the ctak library designed to be embedded on a Raspberry Pi Zero\n\ +\n\ +Copyright (C) 2021, tslil clingman\n\ +\n\ +This program comes with ABSOLUTELY NO WARRANTY; and is made available under the terms of the GNU GPL v3 license. This is free software, and you are welcome to redistribute it under certain conditions; see COPYING for details.\n"; + +int main(int argc, char **argv) { (void)(argc); (void)(argv); + puts(license); + if (lcd_begin() != EXIT_SUCCESS) return EXIT_FAILURE; -- cgit v1.3.1