Page MenuHomeFreeBSD

Unnecessary Include Header Removal
ClosedPublic

Authored by kfv on Jun 14 2019, 2:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 8:37 PM
Unknown Object (File)
Thu, Oct 1, 3:03 PM
Unknown Object (File)
Thu, Sep 24, 11:37 AM
Unknown Object (File)
Sep 6 2026, 3:26 PM
Unknown Object (File)
Sep 6 2026, 2:27 PM
Unknown Object (File)
Sep 6 2026, 1:54 AM
Unknown Object (File)
Sep 5 2026, 5:52 PM
Unknown Object (File)
Sep 5 2026, 5:52 PM
Subscribers

Details

Summary

`libjail/jail.c' has included both <sys/param.h> and <sys/types.h> wherein the latter is unnecessary since it's already included by <sys/param.h>.

Diff Detail

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

Event Timeline

I approve of this change. But since I have not committed in a while, want to get sign-off from at least one other person.

@rgrimes @cem If one of you approve, I'll go ahead and usher it in

(<sys/param.h> includes <sys/types.h>; do not include both.)

— style(9)

Macro shipit:

This revision is now accepted and ready to land.Jun 15 2019, 12:43 AM