diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-09 22:18:47 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-14 15:38:51 +0200 |
commit | 0074cadb3bfdf5d89065e69eb93788ebcc9a6b58 (patch) | |
tree | 655fa20633729478be72bb9692101d7fe0e175a0 /lib/libalpm/package.h | |
parent | c206b3a6d503e57691664b94e68ba85760bd0b6c (diff) | |
download | pacman-0074cadb3bfdf5d89065e69eb93788ebcc9a6b58.tar.gz pacman-0074cadb3bfdf5d89065e69eb93788ebcc9a6b58.tar.xz |
Add handle argument to _alpm_pkg_should_ignore()
This allows callers to retrieve it from wherever is convenient, which
may or may not be on the package object itself.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index b5d8f738..bc5b2671 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -149,7 +149,7 @@ pmpkg_t *_alpm_pkg_load_internal(pmhandle_t *handle, const char *pkgfile, int _alpm_pkg_cmp(const void *p1, const void *p2); int _alpm_pkg_compare_versions(pmpkg_t *local_pkg, pmpkg_t *pkg); pmpkg_t *_alpm_pkg_find(alpm_list_t *haystack, const char *needle); -int _alpm_pkg_should_ignore(pmpkg_t *pkg); +int _alpm_pkg_should_ignore(pmhandle_t *handle, pmpkg_t *pkg); #endif /* _ALPM_PACKAGE_H */ |