Merge fmt_human_2 and fmt_human_10 to one function
Now only one function, fmt_human, takes an additional argument "base".
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return fmt_human_10(freq * 1000);
|
||||
return fmt_human(freq * 1000, 1000);
|
||||
}
|
||||
|
||||
const char *
|
||||
@ -67,7 +67,7 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return fmt_human_10((size_t)freq * 1000 * 1000);
|
||||
return fmt_human((size_t)freq * 1000 * 1000, 1000);
|
||||
}
|
||||
|
||||
const char *
|
||||
|
Reference in New Issue
Block a user