From 13a0c1b05a4b175f13decf3b15567dc71ea043ac Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 10 Feb 2020 21:44:14 +0100 Subject: Cleanup statistics print out - Give a rounded input/output byte count. - Seperate groups by new lines. Signed-off-by: David Oberhollenzer --- include/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index a3055dc..0fd349a 100644 --- a/include/common.h +++ b/include/common.h @@ -162,4 +162,6 @@ sqfs_compressor_t *lzo_compressor_create(const sqfs_compressor_config_t *cfg); int parse_size(const char *what, size_t *out, const char *str, size_t reference); +void print_size(sqfs_u64 size, char *buffer, bool round_to_int); + #endif /* COMMON_H */ -- cgit v1.2.3