aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bitstring.h
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139825
* Remove advertising clause from University of California Regent's license,Warner Losh2004-04-071-4/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core Notes: svn path=/head/; revision=127976
* Finish the repocopy of bitstring.h to sys so it can be usedPoul-Henning Kamp2003-06-131-3/+3
| | | | | | | from kernel code. Notes: svn path=/head/; revision=116306
* Cleanup of bitstring.h:David Malone2000-10-091-39/+46
| | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=66872
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+143
Notes: svn path=/head/; revision=1539