X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/88ab880d90020666c39614a01e388eee5c6505e8..85ac3861e7c7de8877562ac0dbb1233d91c705c2:/lib/vbitset.c diff --git a/lib/vbitset.c b/lib/vbitset.c index 609aca31..36947896 100644 --- a/lib/vbitset.c +++ b/lib/vbitset.c @@ -1,5 +1,5 @@ /* Variable array bitsets. - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004 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 @@ -14,7 +14,7 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -33,17 +33,15 @@ has the same size. */ -static void vbitset_unused_clear PARAMS ((bitset)); +static void vbitset_unused_clear (bitset); -static void vbitset_set PARAMS ((bitset, bitset_bindex)); -static void vbitset_reset PARAMS ((bitset, bitset_bindex)); -static bool vbitset_test PARAMS ((bitset, bitset_bindex)); -static bitset_bindex vbitset_list PARAMS ((bitset, bitset_bindex *, - bitset_bindex, - bitset_bindex *)); -static bitset_bindex vbitset_list_reverse PARAMS ((bitset, bitset_bindex *, - bitset_bindex, - bitset_bindex *)); +static void vbitset_set (bitset, bitset_bindex); +static void vbitset_reset (bitset, bitset_bindex); +static bool vbitset_test (bitset, bitset_bindex); +static bitset_bindex vbitset_list (bitset, bitset_bindex *, + bitset_bindex, bitset_bindex *); +static bitset_bindex vbitset_list_reverse (bitset, bitset_bindex *, + bitset_bindex, bitset_bindex *); #define VBITSET_N_WORDS(N) (((N) + BITSET_WORD_BITS - 1) / BITSET_WORD_BITS) #define VBITSET_WORDS(X) ((X)->b.cdata) @@ -1071,7 +1069,7 @@ vbitset_or_and_cmp (bitset dst, bitset src1, bitset src2, bitset src3) } -void +static void vbitset_copy (bitset dst, bitset src) { if (BITSET_COMPATIBLE_ (dst, src))