summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-28 15:27:16 +0200
committerAllan McRae <allan@archlinux.org>2011-06-28 15:27:16 +0200
commit6b62508c865feaa35d000fa0bcd0ccd8321cd742 (patch)
treef0f1b4cc60179caaee198766ff3759c4b6b3b139 /lib/libalpm/add.c
parent8a04bc25a14df93c0ca207ac83d43cdb867346a1 (diff)
downloadpacman-6b62508c865feaa35d000fa0bcd0ccd8321cd742.tar.gz
pacman-6b62508c865feaa35d000fa0bcd0ccd8321cd742.tar.xz
Rename pmtrans_t to alpm_trans_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index 27bd04d2..3455744f 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -53,7 +53,7 @@
int SYMEXPORT alpm_add_pkg(alpm_handle_t *handle, alpm_pkg_t *pkg)
{
const char *pkgname, *pkgver;
- pmtrans_t *trans;
+ alpm_trans_t *trans;
alpm_pkg_t *local;
/* Sanity checks */
@@ -458,7 +458,7 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg,
int is_upgrade = 0;
alpm_pkg_t *oldpkg = NULL;
alpm_db_t *db = handle->db_local;
- pmtrans_t *trans = handle->trans;
+ alpm_trans_t *trans = handle->trans;
snprintf(scriptlet, PATH_MAX, "%s%s-%s/install",
_alpm_db_path(db), alpm_pkg_get_name(newpkg),
@@ -689,7 +689,7 @@ int _alpm_upgrade_packages(alpm_handle_t *handle)
size_t pkg_count, pkg_current;
int skip_ldconfig = 0, ret = 0;
alpm_list_t *targ;
- pmtrans_t *trans = handle->trans;
+ alpm_trans_t *trans = handle->trans;
if(trans->add == NULL) {
return 0;