diff options
| author | lukem <lukem@NetBSD.org> | 2002-06-01 23:50:52 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2002-06-01 23:50:52 +0000 |
| commit | 06de4264495051e59f05aa0604cf5b6a2ad01777 (patch) | |
| tree | 700a51b43733b7f2bc62f5ab77b7217f0c7b1723 /sys/dev/microcode | |
| parent | b3dd6235cab19a1ee053665727ee76f1c6f2d62b (diff) | |
SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
