git: 835a0e2f0d60 - main - ipfilter: inline is superfluous for an extrn function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jan 2022 21:05:17 UTC
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) {