X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c21493b89f5f5dd49e1f46d311326d5d4f49f8a4..0f404a0af0cb68849b5099e95dec0f9a09e3973d:/lib/abitset.c diff --git a/lib/abitset.c b/lib/abitset.c index c573f34a..dc71713d 100644 --- a/lib/abitset.c +++ b/lib/abitset.c @@ -1,10 +1,11 @@ /* Array bitsets. - Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc. + Copyright (C) 2002-2003, 2006, 2009-2010 Free Software Foundation, + Inc. Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). - 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,13 +14,9 @@ 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 . */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include #include "abitset.h" #include @@ -34,8 +31,7 @@ static bitset_bindex -abitset_resize (bitset src ATTRIBUTE_UNUSED, - bitset_bindex size ATTRIBUTE_UNUSED) +abitset_resize (bitset src, bitset_bindex size) { /* These bitsets have a fixed size. */ if (BITSET_SIZE_ (src) != size)