git: 198d5a629706 - stable/15 - opensolaris: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 17:04:07 UTC
The branch stable/15 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=198d5a629706742a82e35b44f982f37aaa028e21
commit 198d5a629706742a82e35b44f982f37aaa028e21
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:28 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 17:01:02 +0000
opensolaris: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit 41c0b64f021ecda09c0d42bfc539dba69ec51e4c)
---
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 10924977c20d..898b2ea49f96 100644
--- a/sys/cddl/compat/opensolaris/kern/opensolaris.c
+++ b/sys/cddl/compat/opensolaris/kern/opensolaris.c
@@ -67,7 +67,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);
}