summaryrefslogtreecommitdiffstats
path: root/src/util/testdb.c
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-08-17 19:36:28 +0200
committerDan McGee <dan@archlinux.org>2008-08-26 01:10:03 +0200
commitd05882db9e417244fa580c4697b45333faffcc79 (patch)
treed7a8260623d9edbd6798514efecc1de20c9292d2 /src/util/testdb.c
parent070135626023caa0186a77f9f846c078e3cf1be8 (diff)
downloadpacman-d05882db9e417244fa580c4697b45333faffcc79.tar.gz
pacman-d05882db9e417244fa580c4697b45333faffcc79.tar.xz
Rename alpm_db_get{pkg,grp}cache to alpm_db_get_{pkg,grp}cache
This is more consistent with the private functions : _alpm_db_get_{pkg,grp}cache Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testdb.c')
-rw-r--r--src/util/testdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index 94f9ad73..69e35199 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -135,7 +135,7 @@ int main(int argc, char **argv)
/* check dependencies */
alpm_list_t *data;
- alpm_list_t *pkglist = alpm_db_getpkgcache(db);
+ alpm_list_t *pkglist = alpm_db_get_pkgcache(db);
data = alpm_checkdeps(pkglist, 0, NULL, pkglist);
for(i = data; i; i = alpm_list_next(i)) {
pmdepmissing_t *miss = alpm_list_getdata(i);