diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-03-11 18:17:57 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-03-12 16:37:52 +0000 |
| commit | a68e3a8ae8401fe3ba6c0a85bbd3de87bd2e36f2 (patch) | |
| tree | 7b2f4ea1afc73b99b3b01afa06c63cbe7b5454a9 | |
| parent | 985ac741384ec65463669edee5e1d90dee4c895a (diff) | |
systm.h: don't declare socket and inpcb globally
| -rw-r--r-- | sys/net/pfvar.h | 1 | ||||
| -rw-r--r-- | sys/sys/systm.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 21302b70552b..87ed701f66a7 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -2853,6 +2853,7 @@ extern void pf_addrcpy(struct pf_addr *, const struct pf_addr *, sa_family_t); void pf_free_rule(struct pf_krule *); +struct inpcb; int pf_test_eth(int, int, struct ifnet *, struct mbuf **, struct inpcb *); int pf_scan_sctp(struct pf_pdesc *); #if defined(INET) || defined(INET6) diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 1c96d99ff98f..7f655b48ba08 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -127,12 +127,10 @@ extern int unmapped_buf_allowed; * General function declarations. */ -struct inpcb; struct lock_object; struct malloc_type; struct mtx; struct proc; -struct socket; struct thread; struct tty; struct ucred; |
