From: Paul Eggert Date: Tue, 17 Jun 2003 07:23:46 +0000 (+0000) Subject: Upgrade to 2003-06-08 libbitset, then: X-Git-Tag: BISON-2_0~260 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/75d0ea41faaf7bf31ada160b8dbb1827e75afe15?hp=6a75a421f028755324cb453b2ffbe1dc7eb4e09a Upgrade to 2003-06-08 libbitset, then: (ebitset_resize, ebitset_unused_clear): Use prototypes, not old-style definitions. --- diff --git a/lib/ebitset.c b/lib/ebitset.c index 5fa42b5f..3998073b 100644 --- a/lib/ebitset.c +++ b/lib/ebitset.c @@ -121,9 +121,7 @@ static ebitset_elt *ebitset_free_list; /* Free list of bitset elements. */ static bitset_bindex -ebitset_resize (src, n_bits) - bitset src; - bitset_bindex n_bits; +ebitset_resize (bitset src, bitset_bindex n_bits) { bitset_windex oldsize; bitset_windex newsize; @@ -838,8 +836,7 @@ ebitset_list (bitset bset, bitset_bindex *list, /* Ensure that any unused bits within the last element are clear. */ static inline void -ebitset_unused_clear (dst) - bitset dst; +ebitset_unused_clear (bitset dst) { unsigned int last_bit; bitset_bindex n_bits;