Date: Mon, 9 Jun 2025 23:48:05 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4b17a918a9df - main - netinet/in_prot.c: normalize includes Message-ID: <202506092348.559Nm53k088861@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4b17a918a9df1e11ab57de3cd38351e922086f53 commit 4b17a918a9df1e11ab57de3cd38351e922086f53 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-06-07 13:54:50 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-06-09 23:47:13 +0000 netinet/in_prot.c: normalize includes Remove sys/cdefs.h. Remote opt_inet*.h, they are not used. Order alphabetically. Update the herald comment. Reviewed by: markj Sponsored by: NVidia networking Differential revision: https://reviews.freebsd.org/D50653 --- sys/netinet/in_prot.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/netinet/in_prot.c b/sys/netinet/in_prot.c index d81f24d6c040..69f0f3694096 100644 --- a/sys/netinet/in_prot.c +++ b/sys/netinet/in_prot.c @@ -26,22 +26,17 @@ */ /* - * System calls related to processes and protection + * Helpers related to visibility and protection of sockets and inpcb. */ -#include <sys/cdefs.h> -#include "opt_inet.h" -#include "opt_inet6.h" - -#include <sys/param.h> #include <sys/systm.h> +#include <sys/jail.h> #include <sys/kernel.h> #include <sys/lock.h> #include <sys/mutex.h> #include <sys/priv.h> #include <sys/proc.h> #include <sys/socket.h> -#include <sys/jail.h> #include <netinet/in.h> #include <netinet/in_pcb.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506092348.559Nm53k088861>