(bitset_compatible_p): Indent as per GNU standard.
Don't use 'index' in comments, as it's a builtin fn on some hosts.
BITSET_LIST_REVERSE_ (BSET, LIST, NUM, NEXT)
/* Return true if both bitsets are of the same type and size. */
BITSET_LIST_REVERSE_ (BSET, LIST, NUM, NEXT)
/* Return true if both bitsets are of the same type and size. */
-extern bool
-bitset_compatible_p (bitset bset1, bitset bset2);
+extern bool bitset_compatible_p (bitset bset1, bitset bset2);
/* Find next set bit from the given bit index. */
extern bitset_bindex bitset_next PARAMS ((bitset, bitset_bindex));
/* Find next set bit from the given bit index. */
extern bitset_bindex bitset_next PARAMS ((bitset, bitset_bindex));
to the index of each set bit. For example, the following will print
the bits set in a bitset:
to the index of each set bit. For example, the following will print
the bits set in a bitset:
- BITSET_FOR_EACH (iter, src, index, 0)
+ BITSET_FOR_EACH (iter, src, i, 0)
- printf ("%ld ", index);
+ printf ("%lu ", (unsigned long int) i);
};
*/
#define BITSET_FOR_EACH(ITER, BSET, INDEX, MIN) \
};
*/
#define BITSET_FOR_EACH(ITER, BSET, INDEX, MIN) \
/* Loop over all elements of BSET, in reverse order starting with
/* Loop over all elements of BSET, in reverse order starting with
- MIN, setting INDEX to the index of each set bit. For example, the
+ MIN, setting INDEX to the index of each set bit. For example, the
following will print the bits set in a bitset in reverse order:
following will print the bits set in a bitset in reverse order:
- BITSET_FOR_EACH_REVERSE (iter, src, index, 0)
+ BITSET_FOR_EACH_REVERSE (iter, src, i, 0)
- printf ("%ld ", index);
+ printf ("%lu ", (unsigned long int) i);
};
*/
#define BITSET_FOR_EACH_REVERSE(ITER, BSET, INDEX, MIN) \
};
*/
#define BITSET_FOR_EACH_REVERSE(ITER, BSET, INDEX, MIN) \