Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/diskspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/diskspace.c')
-rw-r--r--lib/libalpm/diskspace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c
index 6fc2e38a..2bc382e4 100644
--- a/lib/libalpm/diskspace.c
+++ b/lib/libalpm/diskspace.c
@@ -149,7 +149,7 @@ static alpm_mountpoint_t *match_mount_point(const alpm_list_t *mount_points,
}
static int calculate_removed_size(alpm_handle_t *handle,
- const alpm_list_t *mount_points, pmpkg_t *pkg)
+ const alpm_list_t *mount_points, alpm_pkg_t *pkg)
{
alpm_list_t *file;
@@ -186,7 +186,7 @@ static int calculate_removed_size(alpm_handle_t *handle,
}
static int calculate_installed_size(alpm_handle_t *handle,
- const alpm_list_t *mount_points, pmpkg_t *pkg)
+ const alpm_list_t *mount_points, alpm_pkg_t *pkg)
{
int ret=0;
struct archive *archive;
@@ -283,7 +283,7 @@ int _alpm_check_diskspace(alpm_handle_t *handle)
if(replaces) {
numtargs += replaces;
for(targ = trans->remove; targ; targ = targ->next, current++) {
- pmpkg_t *local_pkg;
+ alpm_pkg_t *local_pkg;
int percent = (current * 100) / numtargs;
PROGRESS(trans, PM_TRANS_PROGRESS_DISKSPACE_START, "", percent,
numtargs, current);
@@ -294,7 +294,7 @@ int _alpm_check_diskspace(alpm_handle_t *handle)
}
for(targ = trans->add; targ; targ = targ->next, current++) {
- pmpkg_t *pkg, *local_pkg;
+ alpm_pkg_t *pkg, *local_pkg;
int percent = (current * 100) / numtargs;
PROGRESS(trans, PM_TRANS_PROGRESS_DISKSPACE_START, "", percent,
numtargs, current);