git: 93da73e85a71 - stable/14 - opensolaris: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 18:27:37 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=93da73e85a719625b1c3f99d89e05a1d56f1f4df
commit 93da73e85a719625b1c3f99d89e05a1d56f1f4df
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:28 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:01 +0000
opensolaris: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit 41c0b64f021ecda09c0d42bfc539dba69ec51e4c)
(cherry picked from commit 198d5a629706742a82e35b44f982f37aaa028e21)
---
sys/cddl/compat/opensolaris/kern/opensolaris.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris.c b/sys/cddl/compat/opensolaris/kern/opensolaris.c
index 1b23c4012903..34dcb8e95af0 100644
--- a/sys/cddl/compat/opensolaris/kern/opensolaris.c
+++ b/sys/cddl/compat/opensolaris/kern/opensolaris.c
@@ -68,7 +68,7 @@ opensolaris_load(void *dummy)
SYSINIT(opensolaris_register, SI_SUB_OPENSOLARIS, SI_ORDER_FIRST, opensolaris_load, NULL);
static void
-opensolaris_unload(void)
+opensolaris_unload(void *dummy __unused)
{
mutex_destroy(&cpu_lock);
}