Conflict checking code cleanup
commit00c393d49ff77bb85397278b8f4bd89450402806
authorDan McGee <dan@archlinux.org>
Thu, 17 Feb 2011 01:10:53 +0000 (16 19:10 -0600)
committerDan McGee <dan@archlinux.org>
Thu, 17 Feb 2011 02:57:07 +0000 (16 20:57 -0600)
tree00990e99812feaba4de1174f7f464c2ae6e2b697
parentd1cc1ef6c31dc193adcf48a9aea4a95830c7ae56
Conflict checking code cleanup

* Make conflict_isin() static; it is used nowhere else.
* Remove does_conflict(): it turns out to be replaceable by a single call to
  _alpm_depcmp(). By pushing it up, we can reduce calls to _alpm_splitdep()
  from 60,368 to 16,940 during one test -Su operation I ran.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/conflict.c
lib/libalpm/conflict.h