]> 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, 29 Jan 2024 14:26:22 +0000 (09:26 -0500)
commit604b80f152f20c1efa6313f9a0a483956e867225
tree5c5cd8a72773a0a4a7e6d18feebe71f89c8c036f
parent02f097e7f34199813201b940ad2b608b6f36bd83
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

(cherry picked from commit 61b0092be751b8241b65cc14e4167d431f1e5ad8)
sys/sys/condvar.h