git: ef9042acb35e - stable/13 - ipfilter: inline is superfluous for an extrn function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Feb 2022 13:52:13 UTC
The branch stable/13 has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=ef9042acb35edfe970be9182938b50b97dbd9b64
commit ef9042acb35edfe970be9182938b50b97dbd9b64
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-10 18:33:56 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-02-07 13:51:18 +0000
ipfilter: inline is superfluous for an extrn function
Remove superfluous inline for function defined as extrn.
(cherry picked from commit 835a0e2f0d60d791316ab3cfef1a9f420c0ae592)
---
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
index 72e2a42695c4..f617584394cf 100644
--- a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
+++ b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
@@ -1012,7 +1012,7 @@ ipf_newisn(fin)
}
-inline int
+int
ipf_checkv4sum(fr_info_t *fin)
{
#ifdef CSUM_DATA_VALID
@@ -1109,7 +1109,7 @@ skipauto:
#ifdef USE_INET6
-inline int
+int
ipf_checkv6sum(fr_info_t *fin)
{
if ((fin->fin_flx & FI_NOCKSUM) != 0) {