summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-10-16 12:23:11 +1000
committerAllan McRae <allan@archlinux.org>2013-10-31 16:20:02 +1000
commit23923200c3e34563c8124a1b098bc0866f4e92e5 (patch)
treeef9d697b9e0cd1e0d2bd1365cb5f844a8eea02d1 /lib/libalpm/package.c
parentd4ba5bdda6595db83babbac1c59fac129fcaff24 (diff)
downloadpacman-23923200c3e34563c8124a1b098bc0866f4e92e5.tar.xz
Expose alpm_pkg_should_ignore
This function is useful for frontends to annotate package upgrades that will be ignored. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index cfdbb3f8..1294f8ef 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -753,7 +753,7 @@ alpm_pkg_t SYMEXPORT *alpm_pkg_find(alpm_list_t *haystack, const char *needle)
*
* @return 1 if the package should be ignored, 0 otherwise
*/
-int _alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg)
+int SYMEXPORT alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg)
{
alpm_list_t *groups = NULL;