diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2024-10-10 08:42:35 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2024-10-10 08:43:32 +0000 |
| commit | e1a09d1e9df30347c279604191a04ce2ef20bf0c (patch) | |
| tree | 3fa1392a0b82362d5c320f78e765e442522e1fa2 | |
| parent | fae4b97c1a6b762230824ac0ba169dff13fa006c (diff) | |
sctp: make sctp_free_ifn() static
It is not used outside of the file.
No functional change intended.
MFC after: 3 days
| -rw-r--r-- | sys/netinet/sctp_pcb.c | 2 | ||||
| -rw-r--r-- | sys/netinet/sctp_pcb.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 1c634933ed6e..d9dfc4b32821 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -239,7 +239,7 @@ sctp_free_vrf(struct sctp_vrf *vrf) } } -void +static void sctp_free_ifn(struct sctp_ifn *sctp_ifnp) { if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifnp->refcount)) { diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index ade29fb3544d..ed6a1c34ccf7 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -508,7 +508,6 @@ sctp_add_addr_to_vrf(uint32_t vrfid, void sctp_update_ifn_mtu(uint32_t ifn_index, uint32_t mtu); -void sctp_free_ifn(struct sctp_ifn *sctp_ifnp); void sctp_free_ifa(struct sctp_ifa *sctp_ifap); void |
