summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 06:56:29 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:28:24 +0200
commit71fa9f912d65ff9d23d05ca42aa494d1d3f596f2 (patch)
tree8a7f98ee5c0322a5e7d4d648895a34447dc7252c /lib/libalpm/db.c
parent57b9b19b103a5d48a7116adfd546a516e121329c (diff)
downloadpacman-71fa9f912d65ff9d23d05ca42aa494d1d3f596f2.tar.gz
pacman-71fa9f912d65ff9d23d05ca42aa494d1d3f596f2.tar.xz
Rename pmpkghash_t to alpm_pkghash_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 248337a9..72fef62e 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -484,7 +484,7 @@ void _alpm_db_free_pkgcache(alpm_db_t *db)
_alpm_db_free_grpcache(db);
}
-pmpkghash_t *_alpm_db_get_pkgcache_hash(alpm_db_t *db)
+alpm_pkghash_t *_alpm_db_get_pkgcache_hash(alpm_db_t *db)
{
if(db == NULL) {
return NULL;
@@ -503,7 +503,7 @@ pmpkghash_t *_alpm_db_get_pkgcache_hash(alpm_db_t *db)
alpm_list_t *_alpm_db_get_pkgcache(alpm_db_t *db)
{
- pmpkghash_t *hash = _alpm_db_get_pkgcache_hash(db);
+ alpm_pkghash_t *hash = _alpm_db_get_pkgcache_hash(db);
if(hash == NULL) {
return NULL;
@@ -567,7 +567,7 @@ alpm_pkg_t *_alpm_db_get_pkgfromcache(alpm_db_t *db, const char *target)
return NULL;
}
- pmpkghash_t *pkgcache = _alpm_db_get_pkgcache_hash(db);
+ alpm_pkghash_t *pkgcache = _alpm_db_get_pkgcache_hash(db);
if(!pkgcache) {
return NULL;
}