summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:32:09 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:28:23 +0200
commit6d876f9b6be055d54e50d42a34c267aad64c0b21 (patch)
tree8a6e1b413fd61f5ee54440afd20edaa4bcdef386 /src
parent9540dfc4d9cc70266a425cc334f78d7805b2340b (diff)
downloadpacman-6d876f9b6be055d54e50d42a34c267aad64c0b21.tar.gz
pacman-6d876f9b6be055d54e50d42a34c267aad64c0b21.tar.xz
Rename pmdepmissing_t to alpm_depmissing_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/remove.c2
-rw-r--r--src/pacman/sync.c2
-rw-r--r--src/pacman/upgrade.c2
-rw-r--r--src/util/testdb.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index c2490e3b..75388f1a 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -114,7 +114,7 @@ int pacman_remove(alpm_list_t *targets)
break;
case PM_ERR_UNSATISFIED_DEPS:
for(i = data; i; i = alpm_list_next(i)) {
- pmdepmissing_t *miss = alpm_list_getdata(i);
+ alpm_depmissing_t *miss = alpm_list_getdata(i);
char *depstring = alpm_dep_compute_string(miss->depend);
printf(_(":: %s: requires %s\n"), miss->target, depstring);
free(depstring);
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index ae28ac97..659396cd 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -775,7 +775,7 @@ static int sync_trans(alpm_list_t *targets)
break;
case PM_ERR_UNSATISFIED_DEPS:
for(i = data; i; i = alpm_list_next(i)) {
- pmdepmissing_t *miss = alpm_list_getdata(i);
+ alpm_depmissing_t *miss = alpm_list_getdata(i);
char *depstring = alpm_dep_compute_string(miss->depend);
printf(_(":: %s: requires %s\n"), miss->target, depstring);
free(depstring);
diff --git a/src/pacman/upgrade.c b/src/pacman/upgrade.c
index 24420ef0..67860277 100644
--- a/src/pacman/upgrade.c
+++ b/src/pacman/upgrade.c
@@ -106,7 +106,7 @@ int pacman_upgrade(alpm_list_t *targets)
break;
case PM_ERR_UNSATISFIED_DEPS:
for(i = data; i; i = alpm_list_next(i)) {
- pmdepmissing_t *miss = alpm_list_getdata(i);
+ alpm_depmissing_t *miss = alpm_list_getdata(i);
char *depstring = alpm_dep_compute_string(miss->depend);
/* TODO indicate if the error was a virtual package or not:
diff --git a/src/util/testdb.c b/src/util/testdb.c
index 91dc9b23..fff43a22 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -100,7 +100,7 @@ static int checkdeps(alpm_list_t *pkglist)
/* check dependencies */
data = alpm_checkdeps(handle, pkglist, NULL, pkglist, 0);
for(i = data; i; i = alpm_list_next(i)) {
- pmdepmissing_t *miss = alpm_list_getdata(i);
+ alpm_depmissing_t *miss = alpm_list_getdata(i);
char *depstring = alpm_dep_compute_string(miss->depend);
printf("missing dependency for %s : %s\n", miss->target,
depstring);