Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-08-12 20:48:53 +1000
committerAllan McRae <allan@archlinux.org>2012-12-14 12:35:34 +1000
commit62f1c590fc26efe7047f7dcbeac8a0910cfb50a5 (patch)
tree1ef3f2289209fe26ba0c38c9f74cfb12ad9d8a92 /lib/libalpm/add.c
parent7a24f909fc21deb16271be5bc2cc5178f880c77a (diff)
Make alpm_pkg_find public
This function is particularly useful, so make it public. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index edddc318..ecdccff0 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -67,7 +67,7 @@ int SYMEXPORT alpm_add_pkg(alpm_handle_t *handle, alpm_pkg_t *pkg)
_alpm_log(handle, ALPM_LOG_DEBUG, "adding package '%s'\n", pkgname);
- if(_alpm_pkg_find(trans->add, pkgname)) {
+ if(alpm_pkg_find(trans->add, pkgname)) {
RET_ERR(handle, ALPM_ERR_TRANS_DUP_TARGET, -1);
}