From c35f713e751bf74bd7b75e683a7decc549eab60f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 31 Jan 2007 01:37:41 +0000 Subject: * 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. --- src/pacman/trans.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman/trans.h') 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 */ -- cgit v1.2.3-70-g09d2