mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Commented out debug-only function readable_fs().
This commit is contained in:
committed by
Qingping Hou
parent
879c937762
commit
f6c73c33d3
2
pdf.c
2
pdf.c
@@ -58,6 +58,7 @@ static size_t msize_min;
|
||||
static size_t msize_iniz;
|
||||
static int is_realloc=0;
|
||||
|
||||
#if 0
|
||||
char* readable_fs(double size/*in bytes*/, char *buf) {
|
||||
int i = 0;
|
||||
const char* units[] = {"B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"};
|
||||
@@ -68,6 +69,7 @@ char* readable_fs(double size/*in bytes*/, char *buf) {
|
||||
sprintf(buf, "%.*f %s", i, size, units[i]);
|
||||
return buf;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void resetMsize(){
|
||||
msize_iniz = msize;
|
||||
|
||||
Reference in New Issue
Block a user