diff options
| author | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-21 22:20:55 +0000 | 
|---|---|---|
| committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-21 22:20:55 +0000 | 
| commit | 9e7e9956fd1dc97bde56d312d2405678d52cff23 (patch) | |
| tree | f30e4a6fe459fa06f8d0833f838260dba8cd53ec | |
| parent | d415411b5121456644edd14e593f9bb1ca18fb0a (diff) | |
| download | hktool-9e7e9956fd1dc97bde56d312d2405678d52cff23.tar.gz hktool-9e7e9956fd1dc97bde56d312d2405678d52cff23.tar.xz hktool-9e7e9956fd1dc97bde56d312d2405678d52cff23.zip  | |
Fix license headers.
There appears to have been a mishmash of GPLv2 and GPLv3 headers, so
this is fixed now.
| -rw-r--r-- | halfkay.c | 27 | ||||
| -rw-r--r-- | halfkay.h | 13 | ||||
| -rw-r--r-- | hktool.c | 13 | ||||
| -rw-r--r-- | params.c | 27 | ||||
| -rw-r--r-- | params.h | 25 | ||||
| -rw-r--r-- | util.c | 27 | ||||
| -rw-r--r-- | util.h | 27 | 
7 files changed, 83 insertions, 76 deletions
@@ -1,20 +1,21 @@ -/*  HalfKay implementation - *  Based on Teensy Loader (cli) (http://www.pjrc.com/teensy/loader_cli.html) +/* + * halfkay.c -- HalfKay protocol implementation + * Based on Teensy Loader (cli) (http://www.pjrc.com/teensy/loader_cli.html)   * - * Copyright (C) 2016  Tomasz Kramkowski <tk@the-tk.com> + * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.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, either version 3 of the License, or - *  (at your option) any later version. + * 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. + * 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 <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */  #define _DEFAULT_SOURCE @@ -1,11 +1,12 @@ -/* HalfKay implementation +/* + * halfkay.c -- HalfKay protocol implementation   * Based on Teensy Loader (cli) (http://www.pjrc.com/teensy/loader_cli.html)   *   * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.com>   * - * This program is free software; you can redistribute it and/or modify + * 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 2 of the License, or + * 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, @@ -13,10 +14,10 @@   * 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, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ +  #ifndef HALFKAY_H  #define HALFKAY_H @@ -1,11 +1,12 @@ -/* HalfKay loader - Load binary data to HalfKay protocol based MCUs. +/* + * HalfKay loader - Load binary data to HalfKay protocol based MCUs.   * Based on Teensy Loader (cli) (http://www.pjrc.com/teensy/loader_cli.html)   *   * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.com>   * - * This program is free software; you can redistribute it and/or modify + * 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 2 of the License, or + * 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, @@ -13,10 +14,10 @@   * 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, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ +  #include <errno.h>  #include <stdio.h>  #include <stdlib.h> @@ -1,21 +1,22 @@ -/* params.c  --  Device parameter file handling. +/* + * params.c -- Device parameter file handling.   * - *  Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.com> + * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.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; either version 2 of the License, or - *  (at your option) any later version. + * 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. + * 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, write to the Free Software Foundation, Inc., - *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ +  #include <assert.h>  #include <ctype.h>  #include <dirent.h> @@ -1,21 +1,22 @@ -/*  params.c  --  Device parameter file handling. +/* + * params.c -- Device parameter file handling.   *   * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.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; either version 2 of the License, or - *  (at your option) any later version. + * 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. + * 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, write to the Free Software Foundation, Inc., - *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ +  #ifndef PARAMS_H  #define PARAMS_H @@ -1,21 +1,22 @@ -/* util.c  -- Various error checking wrappers and utilities. +/* + * util.c -- Various error checking wrappers and utilities.   * - *  Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.com> + * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.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; either version 2 of the License, or - *  (at your option) any later version. + * 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. + * 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, write to the Free Software Foundation, Inc., - *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ +  #include <assert.h>  #include <errno.h>  #include <stdbool.h> @@ -1,21 +1,22 @@ -/* util.h  -- Various error checking wrappers and utilities. +/* + * util.c -- Various error checking wrappers and utilities.   * - *  Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.com> + * Copyright (C) 2016 Tomasz Kramkowski <tk@the-tk.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; either version 2 of the License, or - *  (at your option) any later version. + * 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. + * 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, write to the Free Software Foundation, Inc., - *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ +  #ifndef UTIL_H  #define UTIL_H  | 
