X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..13f56ec4e58bf8687e2a68032c093c0213dd519b:/bsd/kern/sys_domain.c diff --git a/bsd/kern/sys_domain.c b/bsd/kern/sys_domain.c index 0f9e05fa5..66af22826 100644 --- a/bsd/kern/sys_domain.c +++ b/bsd/kern/sys_domain.c @@ -39,13 +39,14 @@ /* domain init function */ -void systemdomain_init(void); +void systemdomain_init(void) __attribute__((section("__TEXT, initcode"))); struct domain systemdomain = { PF_SYSTEM, "system", systemdomain_init, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, { 0, 0} }; -void systemdomain_init() +void +systemdomain_init(void) { /* add system domain built in protocol initializers here */