index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/query.c | 4 | ||||
-rw-r--r-- | src/pacman/remove.c | 2 | ||||
-rw-r--r-- | src/pacman/sync.c | 4 |
diff --git a/src/pacman/query.c b/src/pacman/query.c index 2602c114..0a420c78 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -303,7 +303,7 @@ static int query_group(alpm_list_t *targets) if(targets == NULL) { for(j = alpm_db_get_grpcache(db_local); j; j = alpm_list_next(j)) { - pmgrp_t *grp = alpm_list_getdata(j); + alpm_group_t *grp = alpm_list_getdata(j); const alpm_list_t *p; for(p = grp->packages; p; p = alpm_list_next(p)) { @@ -313,7 +313,7 @@ static int query_group(alpm_list_t *targets) } } else { for(i = targets; i; i = alpm_list_next(i)) { - pmgrp_t *grp; + alpm_group_t *grp; grpname = alpm_list_getdata(i); grp = alpm_db_readgrp(db_local, grpname); if(grp) { diff --git a/src/pacman/remove.c b/src/pacman/remove.c index 75388f1a..eab8bdfc 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -47,7 +47,7 @@ static int remove_target(const char *target) } /* fallback to group */ - pmgrp_t *grp = alpm_db_readgrp(db_local, target); + alpm_group_t *grp = alpm_db_readgrp(db_local, target); if(grp == NULL) { pm_fprintf(stderr, PM_LOG_ERROR, "'%s': target not found\n", target); return -1; diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 418cda1d..5b06a806 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -398,7 +398,7 @@ static int sync_group(int level, alpm_list_t *syncs, alpm_list_t *targets) const char *grpname = alpm_list_getdata(i); for(j = syncs; j; j = alpm_list_next(j)) { alpm_db_t *db = alpm_list_getdata(j); - pmgrp_t *grp = alpm_db_readgrp(db, grpname); + alpm_group_t *grp = alpm_db_readgrp(db, grpname); if(grp) { /* get names of packages in group */ @@ -418,7 +418,7 @@ static int sync_group(int level, alpm_list_t *syncs, alpm_list_t *targets) alpm_db_t *db = alpm_list_getdata(i); for(j = alpm_db_get_grpcache(db); j; j = alpm_list_next(j)) { - pmgrp_t *grp = alpm_list_getdata(j); + alpm_group_t *grp = alpm_list_getdata(j); if(level > 1) { for(k = grp->packages; k; k = alpm_list_next(k)) { |