summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-22 23:11:31 -0600
committerDan McGee <dan@archlinux.org>2008-02-27 18:58:24 -0600
commitc2dbbd60bc8a4c90ec32fdbe9098ffae222d00d7 (patch)
treec7d3cf6624b9408b40227cb306a35f07411dece6 /lib/libalpm/alpm.h
parent4fe7eb66eb62ad8537801d8581e472ec594f19f3 (diff)
downloadpacman-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 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index d605004f..2f9eae77 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -78,8 +78,7 @@ int alpm_logaction(char *fmt, ...);
* Downloading
*/
-typedef void (*alpm_cb_download)(const char *filename, int file_xfered,
- int file_total, int list_xfered, int list_total);
+typedef void (*alpm_cb_download)(const char *filename, int xfered, int total);
/*
* Options