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, Nov 16, 5:47 PM
Unknown Object (File)
Sat, Nov 15, 12:25 AM
Unknown Object (File)
Fri, Nov 14, 11:05 PM
Unknown Object (File)
Thu, Nov 6, 2:15 AM
Unknown Object (File)
Wed, Nov 5, 8:51 AM
Unknown Object (File)
Wed, Oct 29, 5:05 PM
Unknown Object (File)
Wed, Oct 29, 5:02 PM
Unknown Object (File)
Wed, Oct 29, 5:00 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.