X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fsort-criteria.c;h=fd8c7c535f9e630b88acbfdbafeaa8367374fdcc;hb=da299bd9871b178336a440c6ac53aebc3cea672e;hp=c22f1b0f7b33b42312805da24834202fd7c2cb6f;hpb=dc78471910e82d59232ce9b137b7c4fc4992d174;p=pspp diff --git a/src/language/stats/sort-criteria.c b/src/language/stats/sort-criteria.c index c22f1b0f7b..fd8c7c535f 100644 --- a/src/language/stats/sort-criteria.c +++ b/src/language/stats/sort-criteria.c @@ -1,20 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 1997-9, 2000, 2006 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 . */ #include @@ -41,10 +39,10 @@ struct case_ordering * parse_case_ordering (struct lexer *lexer, const struct dictionary *dict, bool *saw_direction) { - struct case_ordering *ordering = case_ordering_create (dict); + struct case_ordering *ordering = case_ordering_create (); const struct variable **vars = NULL; size_t var_cnt = 0; - + if (saw_direction != NULL) *saw_direction = false;