xbps_show_pkg_info(): use humanize_number().
--HG-- extra : convert_revision : e1c903e76d6d5b6501c8893b6d14e23e5b395e58
This commit is contained in:
@@ -37,12 +37,7 @@
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
|
||||
#define HN_DECIMAL 0x01
|
||||
#define HN_NOSPACE 0x02
|
||||
#define HN_B 0x04
|
||||
#define HN_DIVISOR_1000 0x08
|
||||
#define HN_GETSCALE 0x10
|
||||
#define HN_AUTOSCALE 0x20
|
||||
#include <xbps_api.h>
|
||||
|
||||
int
|
||||
humanize_number(char *buf, size_t len, int64_t bytes,
|
||||
|
||||
Reference in New Issue
Block a user