Page MenuHomeFreeBSD

Unnecessary Include Header Removal
ClosedPublic

Authored by kfv_kfv.io on Jun 14 2019, 2:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 9:48 PM
Unknown Object (File)
Fri, Mar 22, 9:48 PM
Unknown Object (File)
Fri, Mar 22, 9:48 PM
Unknown Object (File)
Mar 8 2024, 8:10 AM
Unknown Object (File)
Feb 18 2024, 6:42 AM
Unknown Object (File)
Jan 5 2024, 10:13 AM
Unknown Object (File)
Jan 5 2024, 10:13 AM
Unknown Object (File)
Jan 5 2024, 10:13 AM
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