git: f2e75b967ad2 - main - tcp_hpts: add missing "inline"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Apr 2023 22:18:46 UTC
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);