diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2025-10-13 10:12:35 +0000 |
|---|---|---|
| committer | Zhenlei Huang <zlei@FreeBSD.org> | 2025-10-13 10:12:35 +0000 |
| commit | 12ac59a0d1f6ae2065e8e2cb36c53c00771bfc74 (patch) | |
| tree | f0748e4012f12dc90dfe8837bc4c8c58c0e3c426 | |
| parent | 32c1e940e07c48ab80427efd3d6ff2091407d577 (diff) | |
MAC: Use proper prototype for SYSINIT functions
MFC after: 1 week
| -rw-r--r-- | sys/security/mac/mac_framework.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c index d742b5dcbc3a..b0776160cc74 100644 --- a/sys/security/mac/mac_framework.c +++ b/sys/security/mac/mac_framework.c @@ -320,7 +320,7 @@ mac_policy_xlock_assert(void) * Initialize the MAC subsystem, including appropriate SMP locks. */ static void -mac_init(void) +mac_init(void *dummy __unused) { LIST_INIT(&mac_static_policy_list); @@ -340,7 +340,7 @@ mac_init(void) * kernel, or loaded before the kernel startup. */ static void -mac_late_init(void) +mac_late_init(void *dummy __unused) { mac_late = 1; |
