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)
Tue, Oct 8, 4:47 PM
Unknown Object (File)
Tue, Oct 8, 5:48 AM
Unknown Object (File)
Mon, Oct 7, 10:40 PM
Unknown Object (File)
Mon, Oct 7, 11:25 AM
Unknown Object (File)
Mon, Oct 7, 4:40 AM
Unknown Object (File)
Sun, Oct 6, 2:53 PM
Unknown Object (File)
Wed, Oct 2, 9:47 PM
Unknown Object (File)
Wed, Oct 2, 7:51 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.