diff options
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-10-12 21:47:40 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-12 20:08:54 -0600 |
commit | d0d8f605d5f3ff8fc306af90ea2a516174354bfc (patch) | |
tree | 44541a2d3d54f9d857606cbdb64dc118c4668d96 /lib/libalpm/alpm.h | |
parent | d5a7dc67d93f5e530a6b3611f567eff5afe76efb (diff) | |
download | pacman-d0d8f605d5f3ff8fc306af90ea2a516174354bfc.tar.xz |
alpm: don't expose alpm_depcmp
Either we expose all low levels function dealing with pmdepend_t
(splitdep and depfree come to mind), or we don't.
Since none of the tools use depcmp, I chose to remove it. In the future,
we might want to expose higher level functions such as
alpm_find_satisfier, or just lower level functions like splitdep and
depfree together with depcmp.
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index cd70643c..237e2356 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -429,7 +429,6 @@ typedef enum _pmdepmod_t { PM_DEP_MOD_LT } pmdepmod_t; -int alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep); alpm_list_t *alpm_checkdeps(alpm_list_t *pkglist, int reversedeps, alpm_list_t *remove, alpm_list_t *upgrade); pmpkg_t *alpm_find_satisfier(alpm_list_t *pkgs, const char *depstring); |