git: 70150f0cb7b2 - stable/14 - p9fs: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 18:27:43 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=70150f0cb7b2e5f8fdcf39338c160cd2aa95f979
commit 70150f0cb7b2e5f8fdcf39338c160cd2aa95f979
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:30 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:02 +0000
p9fs: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit 11cfa861e3ff83649c54e5781b541166dc73e80b)
(cherry picked from commit 618c7cffeb28a89475ee001827e53049e45715ed)
---
sys/fs/p9fs/p9_transport.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/fs/p9fs/p9_transport.c b/sys/fs/p9fs/p9_transport.c
index c82d81fedcd7..25eee984265c 100644
--- a/sys/fs/p9fs/p9_transport.c
+++ b/sys/fs/p9fs/p9_transport.c
@@ -34,9 +34,8 @@
TAILQ_HEAD(, p9_trans_module) transports;
static void
-p9_transport_init(void)
+p9_transport_init(void *dummy __unused)
{
-
TAILQ_INIT(&transports);
}