Put the human_size() function in util.c

This commit is contained in:
Scott Baker
2021-06-10 12:53:07 -04:00
committed by W. Felix Handte
parent 26fab1d963
commit b70175e5ec
3 changed files with 23 additions and 20 deletions
+2
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).