diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-16 23:05:06 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-16 23:05:35 +0100 |
commit | 0972b7acfd7c8fadb6aeec6606ea85bf6c5d3d3d (patch) | |
tree | eac0152b16a64fd2bcc6699f983a40b57398d9e0 /src/pacman/util.h | |
parent | e6f72c61a098b52ea29e54b8eb4739a2ff81e6b0 (diff) | |
download | pacman-0972b7acfd7c8fadb6aeec6606ea85bf6c5d3d3d.tar.gz pacman-0972b7acfd7c8fadb6aeec6606ea85bf6c5d3d3d.tar.xz |
Pass a file descriptor to getcols and flush_term_input
This makes these methods a bit more flexible.
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 0df46e88..fc97707f 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -47,7 +47,7 @@ int trans_init(alpm_transflag_t flags, int check_valid); int trans_release(void); int needs_root(void); int check_syncdbs(size_t need_repos, int check_valid); -unsigned short getcols(void); +unsigned short getcols(int fd); int rmrf(const char *path); const char *mbasename(const char *path); char *mdirname(const char *path); |