summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-25 04:08:49 -0400
committerDan McGee <dan@archlinux.org>2007-04-25 11:07:48 -0400
commitc03277f83df33976e09759a08683e8af6e37311b (patch)
tree354381bdba020a2a4068a1c865d32240cac9e7a9 /lib
parent7760f5fe60253bd9aa674c6a6688d9d07668db2e (diff)
downloadpacman-c03277f83df33976e09759a08683e8af6e37311b.tar.xz
add.c and remove.c cleanup
Unification and cleanup of the add.c and remove.c code. It looks remarkably similar, so this may be a candidate for functionalization at a later time. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index a53e98b8..b4faf571 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -710,7 +710,7 @@ int SYMEXPORT alpm_trans_addtarget(char *target)
}
/** Prepare a transaction.
- * @param data the address of a PM_LIST where detailed description
+ * @param data the address of an alpm_list where detailed description
* of an error can be dumped (ie. list of conflicting files)
* @return 0 on success, -1 on error (pm_errno is set accordingly)
*/
@@ -729,7 +729,7 @@ int SYMEXPORT alpm_trans_prepare(alpm_list_t **data)
}
/** Commit a transaction.
- * @param data the address of a PM_LIST where detailed description
+ * @param data the address of an alpm_list where detailed description
* of an error can be dumped (ie. list of conflicting files)
* @return 0 on success, -1 on error (pm_errno is set accordingly)
*/