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)
Mon, Apr 6, 5:34 AM
Unknown Object (File)
Sun, Apr 5, 6:07 PM
Unknown Object (File)
Sun, Apr 5, 2:48 AM
Unknown Object (File)
Sat, Apr 4, 4:44 PM
Unknown Object (File)
Sat, Apr 4, 1:42 PM
Unknown Object (File)
Sat, Apr 4, 12:19 PM
Unknown Object (File)
Thu, Apr 2, 9:58 PM
Unknown Object (File)
Tue, Mar 17, 5:08 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 Not Applicable
Unit
Tests Not Applicable

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