Change license from GPLv2+ to GPLv3+.
[pspp-builds.git] / src / data / casewriter-translator.c
index 0f47f76ba83f3c6b494916768299be8cacdb436c..f2a0b68e6a5683d6c903ed40de0510ca4f88742c 100644 (file)
@@ -1,20 +1,18 @@
-/* PSPP - computes sample statistics.
+/* PSPP - a program for statistical analysis.
    Copyright (C) 2007 Free Software Foundation, Inc.
 
-   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. */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 #include <config.h>
 
@@ -45,7 +43,7 @@ casewriter_create_translator (struct casewriter *subwriter,
                                                  struct ccase *output,
                                                  void *aux),
                               bool (*destroy) (void *aux),
-                              void *aux) 
+                              void *aux)
 {
   struct casewriter_translator *ct = xmalloc (sizeof *ct);
   struct casewriter *writer;
@@ -61,7 +59,7 @@ casewriter_create_translator (struct casewriter *subwriter,
 
 static void
 casewriter_translator_write (struct casewriter *writer UNUSED,
-                             void *ct_, struct ccase *c) 
+                             void *ct_, struct ccase *c)
 {
   struct casewriter_translator *ct = ct_;
   struct ccase tmp;
@@ -71,7 +69,7 @@ casewriter_translator_write (struct casewriter *writer UNUSED,
 }
 
 static void
-casewriter_translator_destroy (struct casewriter *writer UNUSED, void *ct_) 
+casewriter_translator_destroy (struct casewriter *writer UNUSED, void *ct_)
 {
   struct casewriter_translator *ct = ct_;
   casewriter_destroy (ct->subwriter);
@@ -90,7 +88,7 @@ casewriter_translator_convert_to_reader (struct casewriter *writer UNUSED,
   return reader;
 }
 
-static struct casewriter_class casewriter_translator_class = 
+static struct casewriter_class casewriter_translator_class =
   {
     casewriter_translator_write,
     casewriter_translator_destroy,