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)
Wed, Mar 12, 12:14 PM
Unknown Object (File)
Sun, Mar 2, 1:24 AM
Unknown Object (File)
Fri, Feb 21, 11:58 PM
Unknown Object (File)
Mon, Feb 17, 10:46 PM
Unknown Object (File)
Feb 3 2025, 5:56 AM
Unknown Object (File)
Jan 26 2025, 3:23 AM
Unknown Object (File)
Jan 12 2025, 1:54 AM
Unknown Object (File)
Jan 12 2025, 12:02 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.