diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-06 12:50:48 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-06 12:50:48 +0100 |
commit | f55be4897799c5a6dcb454455ad9edcfc36f8495 (patch) | |
tree | dd87b34de4b85f307d5dd05f6d576aadc3ad3697 /src/pacman/util.h | |
parent | b488f229d2ec4f2e4b9e746d68422460ca664715 (diff) | |
parent | b7c06d6d678ebe6a434b2387c3bda14647113f32 (diff) | |
download | pacman-f55be4897799c5a6dcb454455ad9edcfc36f8495.tar.gz pacman-f55be4897799c5a6dcb454455ad9edcfc36f8495.tar.xz |
Merge branch 'maint'
Conflicts:
lib/libalpm/alpm_list.c
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r-- | src/pacman/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h index 18048de9..0df46e88 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -56,7 +56,8 @@ size_t strtrim(char *str); char *strreplace(const char *str, const char *needle, const char *replace); alpm_list_t *strsplit(const char *str, const char splitchar); void string_display(const char *title, const char *string); -double humanize_size(off_t bytes, const char target_unit, const char **label); +double humanize_size(off_t bytes, const char target_unit, int precision, + const char **label); int table_display(const char *title, const alpm_list_t *header, const alpm_list_t *rows); void list_display(const char *title, const alpm_list_t *list); void list_display_linebreak(const char *title, const alpm_list_t *list); |