git: c67eb393fa00 - main - tcp_hpts: plug a compiler warn
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 14:32:33 UTC
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=c67eb393fa00c7c34278415738bf43bc6bbdd291 commit c67eb393fa00c7c34278415738bf43bc6bbdd291 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2023-04-05 14:32:13 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2023-04-05 14:32:13 +0000 tcp_hpts: plug a compiler warn Sponsored by: Rubicon Communications, LLC ("Netgate") --- 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 51e6d62929d6..9bceca0fd340 100644 --- a/sys/netinet/tcp_hpts.h +++ b/sys/netinet/tcp_hpts.h @@ -191,7 +191,7 @@ tcp_tv_to_lusectick(const struct timeval *sv) extern int32_t tcp_min_hptsi_time; __inline int32_t -get_hpts_min_sleep_time() +get_hpts_min_sleep_time(void) { return (tcp_min_hptsi_time + HPTS_TICKS_PER_SLOT); }