Put the human_size() function in util.c

This commit is contained in:
Scott Baker authored and W. Felix Handte committed 2021-06-10 12:53:07 -04:00
1 parent 26fab1d963
commit b70175e5ec
3 files changed
+23 -20

No files matched your search

+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).