diff options
author | Allan McRae <allan@archlinux.org> | 2011-06-28 06:37:16 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-06-28 15:28:23 +0200 |
commit | 1fdbe7902219c5ed3e56b921acae4f3a58b9e76e (patch) | |
tree | d239c30128748fbb228ce8992179a8b031be1c63 /src | |
parent | 37b6cceed41bc22d0d9fb1fe2f274067ddd2b2cc (diff) | |
download | pacman-1fdbe7902219c5ed3e56b921acae4f3a58b9e76e.tar.gz pacman-1fdbe7902219c5ed3e56b921acae4f3a58b9e76e.tar.xz |
Rename pmgrp_t to alpm_group_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/query.c | 4 | ||||
-rw-r--r-- | src/pacman/remove.c | 2 | ||||
-rw-r--r-- | src/pacman/sync.c | 4 |
3 files changed, 5 insertions, 5 deletions
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)) { |