1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

Put the human_size() function in util.c

This commit is contained in:
Scott Baker
2021-06-04 20:28:55 -07:00
committed by W. Felix Handte
parent 26fab1d963
commit b70175e5ec
3 changed files with 23 additions and 20 deletions

View File

@ -122,6 +122,8 @@ int UTIL_requireUserConfirmation(const char* prompt, const char* abortMsg, const
#define STRDUP(s) strdup(s)
#endif
char* human_size(long size, char* str);
/**
* Calls platform's equivalent of stat() on filename and writes info to statbuf.
* Returns success (1) or failure (0).