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)
Sat, Jul 11, 6:14 PM
Unknown Object (File)
Tue, Jul 7, 2:09 AM
Unknown Object (File)
Wed, Jun 24, 11:37 PM
Unknown Object (File)
Tue, Jun 23, 1:23 AM
Unknown Object (File)
Fri, Jun 19, 7:22 PM
Unknown Object (File)
May 18 2026, 7:57 AM
Unknown Object (File)
May 6 2026, 1:53 PM
Unknown Object (File)
Apr 29 2026, 11:47 PM
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.