Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2023 22:18:46 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f2e75b967ad2 - main - tcp_hpts: add missing "inline"
Message-ID:  <202304252218.33PMIkSJ007189@gitrepo.freebsd.org>

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

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

commit f2e75b967ad2e47f113c087d9357720e7d680a90
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2023-04-25 22:18:26 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2023-04-25 22:18:26 +0000

    tcp_hpts: add missing "inline"
    
    Fixes:  c2a69e846fffb95271c0299e0a81e2033382e9c2
---
 sys/netinet/tcp_hpts.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_hpts.h b/sys/netinet/tcp_hpts.h
index dfa6eaf79bdc..086669342bb8 100644
--- a/sys/netinet/tcp_hpts.h
+++ b/sys/netinet/tcp_hpts.h
@@ -114,7 +114,7 @@ struct hpts_diag {
 #ifdef _KERNEL
 void tcp_hpts_init(struct tcpcb *);
 void tcp_hpts_remove(struct tcpcb *);
-static bool
+static inline bool
 tcp_in_hpts(struct tcpcb *tp)
 {
 	return (tp->t_in_hpts == IHPTS_ONQUEUE);



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