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,
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);