git: bddd70611a0f - stable/14 - MAC: Use proper prototype for SYSINIT functions

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Sat, 31 Jan 2026 18:27:58 UTC
The branch stable/14 has been updated by zlei:

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

commit bddd70611a0fceb6a89acaa7955cb46755107a33
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:35 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:05 +0000

    MAC: Use proper prototype for SYSINIT functions
    
    MFC after:      1 week
    
    (cherry picked from commit 12ac59a0d1f6ae2065e8e2cb36c53c00771bfc74)
    (cherry picked from commit 2e5a55c7af56022fb38e3d528b2e8b1257de891d)
---
 sys/security/mac/mac_framework.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index b5eb1620300a..5ef8d1f2bf49 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -321,7 +321,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);
@@ -341,7 +341,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;