X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fll.h;h=65ecf55f2cad759a50085a85e90f1e3c79cf7f02;hb=64322c8ee0af7bf5ecc825ccc90513118732f335;hp=cb7ca2f93fb1c1282c52e9bf6fed2cb3538a7f85;hpb=f5c108becd49d78f4898cab11352291f5689d24e;p=pspp-builds.git diff --git a/src/libpspp/ll.h b/src/libpspp/ll.h index cb7ca2f9..65ecf55f 100644 --- a/src/libpspp/ll.h +++ b/src/libpspp/ll.h @@ -1,20 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 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 . */ /* Circular doubly linked lists. @@ -338,9 +336,9 @@ struct ll *ll_find_partition (const struct ll *r0, const struct ll *r1, #define ll_tail__(STRUCT, MEMBER, LIST) \ ll_data__ (ll_tail (LIST), STRUCT, MEMBER, LIST) #define ll_next__(DATA, STRUCT, MEMBER, LIST) \ - ll_data__ (ll_next (&DATA->MEMBER), STRUCT, MEMBER, LIST) + ll_data__ (ll_next (&(DATA)->MEMBER), STRUCT, MEMBER, LIST) #define ll_prev__(DATA, STRUCT, MEMBER, LIST) \ - ll_data__ (ll_prev (&DATA->MEMBER), STRUCT, MEMBER, LIST) + ll_data__ (ll_prev (&(DATA)->MEMBER), STRUCT, MEMBER, LIST) /* Inline functions. */