HomeFreeBSD

condvar: Clean up condvar.h a bit

Description

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

Details

Provenance
markjAuthored on Jan 15 2024, 5:27 PM
Reviewer
kib
Differential Revision
D43449: condvar: Clean up condvar.h a bit
Parents
rG503f72a828c7: ncl_bioread(): check for vp->v_object before accessing it
Branches
Unknown
Tags
Unknown