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)
Sun, Oct 19, 8:21 PM
Unknown Object (File)
Sun, Oct 19, 6:23 AM
Unknown Object (File)
Sun, Oct 19, 6:23 AM
Unknown Object (File)
Sun, Oct 19, 6:23 AM
Unknown Object (File)
Sun, Oct 19, 6:23 AM
Unknown Object (File)
Sun, Oct 19, 2:44 AM
Unknown Object (File)
Sun, Oct 19, 12:09 AM
Unknown Object (File)
Sat, Oct 18, 6:05 PM
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.