diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-25 05:13:26 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-25 23:09:52 +0200 |
commit | 0ee3ce70a88a42387d19f0d58901fda21b0161b7 (patch) | |
tree | 29ed77f1f94445fd92351f3fcc2e3af2891eed1c /src/pacman/util.h | |
parent | 73fcf17041cf00e0b6c3082bd354b8eaab412dab (diff) | |
download | pacman-0ee3ce70a88a42387d19f0d58901fda21b0161b7.tar.gz pacman-0ee3ce70a88a42387d19f0d58901fda21b0161b7.tar.xz |
Remove short/long label distinction
We only used short labels in one place, and the short label is always
the first character of the long label anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r-- | src/pacman/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h index ee3dbd11..f9f1485f 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -53,7 +53,7 @@ char *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, int long_labels, const char **label); +double humanize_size(off_t bytes, const char target_unit, 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); |