Page MenuHomeFreeBSD

condvar: Clean up condvar.h a bit
ClosedPublic

Authored by markj on Jan 13 2024, 9:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 6:04 PM
Unknown Object (File)
Fri, Sep 11, 5:12 AM
Unknown Object (File)
Fri, Sep 11, 4:07 AM
Unknown Object (File)
Sat, Sep 5, 12:25 PM
Unknown Object (File)
Sat, Sep 5, 7:21 AM
Unknown Object (File)
Sat, Sep 5, 5:37 AM
Unknown Object (File)
Fri, Sep 4, 5:26 PM
Unknown Object (File)
Thu, Sep 3, 5:36 AM
Subscribers

Details

Summary
  • 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Jan 13 2024, 9:11 PM
kib added inline comments.
sys/sys/condvar.h
55

This requires sys/types.h

This revision is now accepted and ready to land.Jan 13 2024, 9:15 PM

Include sys/types.h as well.

This revision now requires review to proceed.Jan 13 2024, 9:40 PM
This revision is now accepted and ready to land.Jan 13 2024, 9:44 PM
This revision was automatically updated to reflect the committed changes.