X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..4a3eedf9ecc9bbe3f3a5c6ce5e53ad199d639d32:/osfmk/kern/ledger.h diff --git a/osfmk/kern/ledger.h b/osfmk/kern/ledger.h index 08b050c9b..fe0fa2c04 100644 --- a/osfmk/kern/ledger.h +++ b/osfmk/kern/ledger.h @@ -63,7 +63,7 @@ extern ledger_t root_paged_ledger; #define root_wired_ledger_port root_wired_ledger->ledger_self #define root_paged_ledger_port root_paged_ledger->ledger_self -extern void ledger_init(void); +extern void ledger_init(void) __attribute__((section("__TEXT, initcode"))); extern ipc_port_t ledger_copy(ledger_t);