X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcontrol%2Fcontrol-stack.h;h=9c6824b5f6555afc1fb473b7ff1c56c1cf4a184e;hb=6f3865480503c571963d8a2d1af858a4d72d4e88;hp=210adb0bddad7e5f46789077474e0ede3980d99c;hpb=480a0746507ce73d26f528b56dc3ed80195096e0;p=pspp diff --git a/src/language/control/control-stack.h b/src/language/control/control-stack.h index 210adb0bdd..9c6824b5f6 100644 --- a/src/language/control/control-stack.h +++ b/src/language/control/control-stack.h @@ -1,27 +1,32 @@ -/* PSPP - computes sample statistics. - Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. +/* PSPP - a program for statistical analysis. + Copyright (C) 1997-9, 2000, 2011 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 . */ #ifndef CTL_STACK_H #define CTL_STACK_H 1 #include -struct ctl_class +/* The following #include avoids a potential problem when Gnulib substitutes + * for close() by putting "#define close rpl_close" into , by + * ensuring that every source file that includes this one sees the #define.. + * (It would probably be better to rename the 'close' member of struct + * ctl_class.) */ +#include + +struct ctl_class { const char *start_name; /* e.g. LOOP. */ const char *end_name; /* e.g. END LOOP. */