summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-16 16:42:43 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-16 16:42:43 +0000
commit89f0ccc3ccb6de1037ee5a74bdb18c064e5c2d01 (patch)
tree800a6e6b6a832cbde427245dc9c447f234766d8d /lib/libalpm/remove.c
parent31da982deb9155ffa99d066a9575fa72aa1f77f5 (diff)
reworked transaction prototypes
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 735cf372..83786275 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -45,7 +45,7 @@
extern pmhandle_t *handle;
-int remove_loadtarget(pmdb_t *db, pmtrans_t *trans, char *name)
+int remove_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name)
{
pmpkg_t *info;
@@ -65,7 +65,7 @@ int remove_loadtarget(pmdb_t *db, pmtrans_t *trans, char *name)
return(0);
}
-int remove_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data)
+int remove_prepare(pmtrans_t *trans, pmdb_t *db, PMList **data)
{
pmpkg_t *info;
PMList *lp;
@@ -118,7 +118,7 @@ int remove_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data)
return(0);
}
-int remove_commit(pmdb_t *db, pmtrans_t *trans)
+int remove_commit(pmtrans_t *trans, pmdb_t *db)
{
pmpkg_t *info;
struct stat buf;