diff --git a/src/geonames.c b/src/geonames.c index 55c7a8a..3a9db9a 100644 --- a/src/geonames.c +++ b/src/geonames.c @@ -1,3 +1,28 @@ +/** + * Geonames.org lookup routines + * + * @copyright 2012 Steffen Vogel + * @license http://www.gnu.org/licenses/gpl.txt GNU Public License + * @author Steffen Vogel + * @link http://www.steffenvogel.de/2012/03/14/cron-jobs-fur-sonnenauf-untergang/ + */ +/* + * This file is part of sun + * + * sun 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 + * any later version. + * + * sun 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 sun. If not, see . + */ + #include #include #include diff --git a/src/geonames.h b/src/geonames.h index 4c26669..ebb51e5 100644 --- a/src/geonames.h +++ b/src/geonames.h @@ -1,3 +1,28 @@ +/** + * Header file for Geonames.org lookup + * + * @copyright 2012 Steffen Vogel + * @license http://www.gnu.org/licenses/gpl.txt GNU Public License + * @author Steffen Vogel + * @link http://www.steffenvogel.de/2012/03/14/cron-jobs-fur-sonnenauf-untergang/ + */ +/* + * This file is part of sun + * + * sun 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 + * any later version. + * + * sun 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 sun. If not, see . + */ + #ifndef _GEONAMES_H_ #define _GEONAMES_H_ diff --git a/src/geonames_main.c b/src/geonames_main.c index a1ea54f..408ac75 100644 --- a/src/geonames_main.c +++ b/src/geonames_main.c @@ -1,6 +1,32 @@ +/** + * Geonames.org test + * + * @copyright 2012 Steffen Vogel + * @license http://www.gnu.org/licenses/gpl.txt GNU Public License + * @author Steffen Vogel + * @link http://www.steffenvogel.de/2012/03/14/cron-jobs-fur-sonnenauf-untergang/ + */ +/* + * This file is part of sun + * + * sun 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 + * any later version. + * + * sun 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 sun. If not, see . + */ + #include #include +#include "../config.h" #include "geonames.h" int main(int argc, char *argv[]) { diff --git a/src/sun_main.c b/src/sun_main.c index 31dc354..3b55ebb 100644 --- a/src/sun_main.c +++ b/src/sun_main.c @@ -1,4 +1,4 @@ - /** +/** * Main routine * * Does parsing of command line options and start calculation