X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..7ddcb079202367355dddccdfa4318e57d50318be:/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 */