Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2022 13:56:12 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1bd2b6583949 - stable/12 - ipfilter: inline is superfluous for an extrn function
Message-ID:  <202202071356.217DuCSQ085598@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=1bd2b658394915e6def4c09480000e248eda6296

commit 1bd2b658394915e6def4c09480000e248eda6296
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:55:14 +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 315d570141dc..8202fd8b9a0c 100644
--- a/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
+++ b/sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
@@ -1017,7 +1017,7 @@ ipf_newisn(fin)
 }
 
 
-inline int
+int
 ipf_checkv4sum(fr_info_t *fin)
 {
 #ifdef CSUM_DATA_VALID
@@ -1114,7 +1114,7 @@ skipauto:
 
 
 #ifdef USE_INET6
-inline int
+int
 ipf_checkv6sum(fr_info_t *fin)
 {
 	if ((fin->fin_flx & FI_NOCKSUM) != 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202071356.217DuCSQ085598>