Page MenuHomeFreeBSD

ce,cp: Remove pointless checks for <sys/cdefs.h>
ClosedPublic

Authored by jhb on Apr 6 2022, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 28, 12:53 PM
Unknown Object (File)
Thu, Dec 18, 4:03 AM
Unknown Object (File)
Fri, Dec 12, 3:39 PM
Unknown Object (File)
Tue, Dec 2, 7:12 PM
Unknown Object (File)
Nov 28 2025, 8:22 PM
Unknown Object (File)
Nov 22 2025, 12:53 PM
Unknown Object (File)
Nov 16 2025, 5:47 PM
Unknown Object (File)
Nov 15 2025, 12:25 AM
Subscribers

Details

Summary

Both of these headers check for _SYS_CDEFS_H_ after including
<sys/param.h> which itself includes <sys/cdefs.h>.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45020
Build 41908: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Apr 6 2022, 2:25 PM

leaving aside question of 'why do we still need these drivers', these change are good.

This revision is now accepted and ready to land.Apr 6 2022, 2:27 PM
In D34795#788641, @imp wrote:

leaving aside question of 'why do we still need these drivers', these change are good.

Perhaps we'll sort that out in D23928, eventually. They might get removed with a final spl* cleanup.

This revision was automatically updated to reflect the committed changes.