git: 937b00ac0d2d - main - tcp: add missing void keyword to tcp_stats_init

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 18:38:18 UTC
The branch main has been updated by mjg:

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

commit 937b00ac0d2ded92e241994c8557d13d68c29b58
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-02-13 18:38:04 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-02-13 18:38:04 +0000

    tcp: add missing void keyword to tcp_stats_init
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/netinet/tcp_stats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_stats.c b/sys/netinet/tcp_stats.c
index 9a01bc789851..4baf964ff9b4 100644
--- a/sys/netinet/tcp_stats.c
+++ b/sys/netinet/tcp_stats.c
@@ -92,7 +92,7 @@ static int
 /* Ensure all templates are also added to the userland template list. */
 __attribute__ ((constructor))
 #endif
-tcp_stats_init()
+tcp_stats_init(void)
 {
 	int err, lasterr;