dwmalone 7fc1fa1654 Cleanup of bitstring.h:
1) Add FreeBSD: tag.
2) Add parenthesis around macro args.
3) Add parenthesis around macros which are expressions.
4) Add do { ... } while (0) around macros which are compound statements.
5) Sync bitstr_size and bit_alloc with neater versions from NetBSD.
6) Fix bit_ffs and bit_ffc so that they don't search off the end of the
	bitstirng.
7) Try to avoid rightshifting signed ints.

I didn't take NetBSD's version directly as the macros are significantly
slower for long bitstrings. Bruce reviewed a previous version of
this patch.

PR:		21204
Submitted by:	bob@immure.com
Reviewed by:	bde
2000-10-09 12:34:51 +00:00
..
1999-08-27 23:45:13 +00:00
1999-09-05 17:43:31 +00:00
1999-08-27 23:45:13 +00:00
2000-10-09 12:34:51 +00:00
2000-09-19 04:24:50 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1998-04-29 22:39:56 +00:00
1999-06-21 17:07:20 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
2000-07-07 16:52:24 +00:00
1998-01-20 09:09:24 +00:00
1999-08-28 05:11:36 +00:00
1999-08-16 06:53:13 +00:00
1999-08-27 23:45:13 +00:00
1998-07-16 00:10:14 +00:00
1999-08-27 23:45:13 +00:00