X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..490019cf9519204c5fb36b2fba54ceb983bb6b72:/osfmk/kern/ledger.h diff --git a/osfmk/kern/ledger.h b/osfmk/kern/ledger.h index d29f07d27..b7f1eb0d3 100644 --- a/osfmk/kern/ledger.h +++ b/osfmk/kern/ledger.h @@ -120,6 +120,7 @@ extern kern_return_t ledger_set_period(ledger_t ledger, int entry, uint64_t period); extern kern_return_t ledger_disable_refill(ledger_t l, int entry); extern kern_return_t ledger_entry_setactive(ledger_t ledger, int entry); +extern void ledger_check_new_balance(ledger_t ledger, int entry); extern kern_return_t ledger_credit(ledger_t ledger, int entry, ledger_amount_t amount); extern kern_return_t ledger_debit(ledger_t ledger, int entry, @@ -135,7 +136,6 @@ extern kern_return_t ledger_disable_panic_on_negative(ledger_t ledger, int entry extern kern_return_t ledger_rollup(ledger_t to_ledger, ledger_t from_ledger); extern void ledger_ast(thread_t thread); -extern void set_astledger(thread_t thread); extern int ledger_reference_count(ledger_t ledger); extern kern_return_t ledger_reference(ledger_t ledger);