git: 1bd2b6583949 - stable/12 - ipfilter: inline is superfluous for an extrn function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Feb 2022 13:56:12 UTC
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) {