Unify write callback signature

This commit is contained in:
Yinan Zhang 2020-04-17 14:49:20 -07:00
parent fef9abdcc0
commit 2097e1945b
10 changed files with 20 additions and 22 deletions

View file

@ -1431,8 +1431,7 @@ stats_print_helper(emitter_t *emitter, bool merged, bool destroyed,
}
void
stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
const char *opts) {
stats_print(write_cb_t *write_cb, void *cbopaque, const char *opts) {
int err;
uint64_t epoch;
size_t u64sz;