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
This commit is contained in:
Konstantin Belousov
2025-06-07 16:54:50 +03:00
parent 5fea0d9e9d
commit 4b17a918a9
+2 -7
View File
@@ -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>