summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:11:43 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 06:16:12 +0200
commit939d5a9511b2dcbb07390ecfcd23528d8034709b (patch)
tree93487183da9dfdad8c33c7fa8f6929fd810a1c29 /src/util
parent64c1cf792184661a1d3dd73329f129172e688f17 (diff)
downloadpacman-939d5a9511b2dcbb07390ecfcd23528d8034709b.tar.gz
pacman-939d5a9511b2dcbb07390ecfcd23528d8034709b.tar.xz
Rename pmdb_t to alpm_db_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/cleanupdelta.c2
-rw-r--r--src/util/testdb.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c
index 80fcec3d..f56063db 100644
--- a/src/util/cleanupdelta.c
+++ b/src/util/cleanupdelta.c
@@ -69,7 +69,7 @@ static void checkpkgs(alpm_list_t *pkglist)
static void checkdbs(const char *dbpath, alpm_list_t *dbnames) {
char syncdbpath[PATH_MAX];
- pmdb_t *db = NULL;
+ alpm_db_t *db = NULL;
alpm_list_t *i;
for(i = dbnames; i; i = alpm_list_next(i)) {
diff --git a/src/util/testdb.c b/src/util/testdb.c
index ca007454..91dc9b23 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -129,7 +129,7 @@ static int checkconflicts(alpm_list_t *pkglist)
static int check_localdb(void) {
int ret = 0;
- pmdb_t *db = NULL;
+ alpm_db_t *db = NULL;
alpm_list_t *pkglist;
ret = check_localdb_files();
@@ -146,7 +146,7 @@ static int check_localdb(void) {
static int check_syncdbs(alpm_list_t *dbnames) {
int ret = 0;
- pmdb_t *db = NULL;
+ alpm_db_t *db = NULL;
alpm_list_t *i, *pkglist, *syncpkglist = NULL;
for(i = dbnames; i; i = alpm_list_next(i)) {