From 23923200c3e34563c8124a1b098bc0866f4e92e5 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Wed, 16 Oct 2013 12:23:11 +1000 Subject: Expose alpm_pkg_should_ignore This function is useful for frontends to annotate package upgrades that will be ignored. Signed-off-by: Allan McRae --- lib/libalpm/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/package.c') 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; -- cgit v1.2.3-24-g4f1b