move compression overhead calcs out of main()

This commit is contained in:
discomfitor 2011-08-11 00:57:43 -04:00 committed by Con Kolivas
parent 1c64dcfb31
commit e85e4df0ef
3 changed files with 16 additions and 10 deletions

1
util.h
View file

@ -27,6 +27,7 @@ void unlink_files(void);
void register_outputfile(FILE *f);
void fatal(const char *format, ...);
void failure(const char *format, ...);
void setup_overhead(rzip_control *control);
void setup_ram(rzip_control *control);
void round_to_page(i64 *size);
void get_rand(uchar *buf, int len);