diff options
author | Dan McGee <dan@archlinux.org> | 2007-01-31 01:37:41 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-01-31 01:37:41 +0000 |
commit | c35f713e751bf74bd7b75e683a7decc549eab60f (patch) | |
tree | 68535138e34708cfd99ff2d4fb596c1fbd595a63 /src/pacman/trans.h | |
parent | 2ea88b9ff6b91ca98c3bff08936464e26a1007f0 (diff) |
* Refactored some functions to clean up variable declaration.
* Reduced magic number usage by fill_progress function (new).
* Some switch indent fixing.
* Remove use of log10 call.
Diffstat (limited to 'src/pacman/trans.h')
-rw-r--r-- | src/pacman/trans.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/trans.h b/src/pacman/trans.h index 6eb78358..63ff4714 100644 --- a/src/pacman/trans.h +++ b/src/pacman/trans.h @@ -29,8 +29,8 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, void *data3, int *response); /* callback to handle display of the progress bar for transactions */ -void cb_trans_progress(pmtransprog_t event, char *pkgname, int percent, - int howmany, int remain); +void cb_trans_progress(pmtransprog_t event, char *pkgname, const int percent, + const int howmany, const int remain); #endif /* _PM_TRANS_H */ |