Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2022 21:05:17 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 835a0e2f0d60 - main - ipfilter: inline is superfluous for an extrn function
Message-ID:  <202201122105.20CL5HV5080000@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=835a0e2f0d60d791316ab3cfef1a9f420c0ae592

commit 835a0e2f0d60d791316ab3cfef1a9f420c0ae592
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-10 18:33:56 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-01-12 20:58:05 +0000

    ipfilter: inline is superfluous for an extrn function
    
    Remove superfluous inline for function defined as extrn.
    
    MFC after:      3 days
---
 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) {



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