diff options
Diffstat (limited to 'include/block/accounting.h')
-rw-r--r-- | include/block/accounting.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/block/accounting.h b/include/block/accounting.h index 20891639d5..55cb06fdb6 100644 --- a/include/block/accounting.h +++ b/include/block/accounting.h @@ -61,7 +61,8 @@ typedef struct BlockAcctCookie { enum BlockAcctType type; } BlockAcctCookie; -void block_acct_init(BlockAcctStats *stats, bool account_invalid, +void block_acct_init(BlockAcctStats *stats); +void block_acct_setup(BlockAcctStats *stats, bool account_invalid, bool account_failed); void block_acct_cleanup(BlockAcctStats *stats); void block_acct_add_interval(BlockAcctStats *stats, unsigned interval_length); |