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, Jan 24, 5:07 PM
Unknown Object (File)
Thu, Jan 23, 6:54 PM
Unknown Object (File)
Mon, Jan 20, 4:34 PM
Unknown Object (File)
Thu, Jan 16, 2:53 PM
Unknown Object (File)
Jan 3 2025, 11:35 AM
Unknown Object (File)
Dec 21 2024, 3:47 AM
Unknown Object (File)
Dec 15 2024, 9:38 PM
Unknown Object (File)
Dec 11 2024, 9:21 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