2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Commented out debug-only function readable_fs().

This commit is contained in:
Tigran Aivazian 2012-10-11 11:49:38 +01:00
parent b74347afae
commit d86944cce0

2
pdf.c
View File

@ -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;