]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
condvar: Clean up condvar.h a bit
authorMark Johnston <markj@FreeBSD.org>
Mon, 15 Jan 2024 17:27:11 +0000 (12:27 -0500)
committerMark Johnston <markj@FreeBSD.org>
Mon, 15 Jan 2024 17:27:11 +0000 (12:27 -0500)
commit61b0092be751b8241b65cc14e4167d431f1e5ad8
treee205dedadf94f28e330515b7123dfaf87d10960e
parent503f72a828c7d0d938ec73ffbf62406038c69d47
condvar: Clean up condvar.h a bit

- Remove a typedef that has been unused for a long time.
- Remove a LOCORE guard.  MI headers like condvar.h don't need such a
  guard in general.
- Move a forward declaration into the _KERNEL block.
- Add a types.h include to make the file self-contained.

Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D43449
sys/sys/condvar.h