summaryrefslogtreecommitdiffstats
path: root/src/pacman/callback.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-23 06:11:31 +0100
committerDan McGee <dan@archlinux.org>2008-02-28 01:58:24 +0100
commitc2dbbd60bc8a4c90ec32fdbe9098ffae222d00d7 (patch)
treec7d3cf6624b9408b40227cb306a35f07411dece6 /src/pacman/callback.h
parent4fe7eb66eb62ad8537801d8581e472ec594f19f3 (diff)
downloadpacman-c2dbbd60bc8a4c90ec32fdbe9098ffae222d00d7.tar.gz
pacman-c2dbbd60bc8a4c90ec32fdbe9098ffae222d00d7.tar.xz
Start removing some junk from the function template
I screwed up originally when I accepted the TotalDownload patch, 8ec27835f40e3df1ce409bc3d913587c474a30c3. I didn't realize how deeply it modified libalpm and I probably shouldn't have let it do what it did. This commit reverts much of what that patch added in order to clean up our internal function calls. We can find another way to do it right down the road here but for now it has to go. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/callback.h')
-rw-r--r--src/pacman/callback.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/callback.h b/src/pacman/callback.h
index aa8d9370..39d59d8b 100644
--- a/src/pacman/callback.h
+++ b/src/pacman/callback.h
@@ -33,8 +33,7 @@ void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent,
int howmany, int remain);
/* callback to handle display of download progress */
-void cb_dl_progress(const char *filename, int file_xfered, int file_total,
- int list_xfered, int list_total);
+void cb_dl_progress(const char *filename, int file_xfered, int file_total);
/* callback to handle messages/notifications from pacman library */
void cb_log(pmloglevel_t level, char *fmt, va_list args);