summaryrefslogtreecommitdiffstats
path: root/src/pacman/trans.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-01-31 02:37:41 +0100
committerDan McGee <dan@archlinux.org>2007-01-31 02:37:41 +0100
commitc35f713e751bf74bd7b75e683a7decc549eab60f (patch)
tree68535138e34708cfd99ff2d4fb596c1fbd595a63 /src/pacman/trans.h
parent2ea88b9ff6b91ca98c3bff08936464e26a1007f0 (diff)
downloadpacman-c35f713e751bf74bd7b75e683a7decc549eab60f.tar.gz
pacman-c35f713e751bf74bd7b75e683a7decc549eab60f.tar.xz
* 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.h4
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 */