summaryrefslogtreecommitdiff
path: root/lib/rpmps.h
diff options
context:
space:
mode:
authorRakesh Pandit <rakesh@fedoraproject.org>2010-04-14 16:44:52 +0530
committerPanu Matilainen <pmatilai@redhat.com>2010-04-21 12:03:09 +0300
commit8cc740c43f28b43cd34894d7c0d47b48ce5f4f91 (patch)
treea7eaeb31f97976c81f761838987d5e9d67bb51cb /lib/rpmps.h
parentc0ab315e71c46e36de038dde4a32ebe6eba04c41 (diff)
downloadrpm-8cc740c43f28b43cd34894d7c0d47b48ce5f4f91.tar.gz
rpm-8cc740c43f28b43cd34894d7c0d47b48ce5f4f91.tar.bz2
rpm-8cc740c43f28b43cd34894d7c0d47b48ce5f4f91.zip
Eliminate unused "known problems" based filtering from rpmtsRun()
- This mechanism has never been used by anything at all, which suggests its not a particularly useful feature - Removing unused rpmpsTrim() from rpmps - Marking okProbs parameter of rpmtsRun() function as unused to avoid unnecessary breakage
Diffstat (limited to 'lib/rpmps.h')
-rw-r--r--lib/rpmps.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/rpmps.h b/lib/rpmps.h
index b355e7861..4b1050b7d 100644
--- a/lib/rpmps.h
+++ b/lib/rpmps.h
@@ -103,23 +103,6 @@ void rpmpsPrint(FILE *fp, rpmps ps);
void rpmpsAppendProblem(rpmps ps, rpmProblem prob);
/** \ingroup rpmps
- * Filter a problem set.
- *
- * As the problem sets are generated in an order solely dependent
- * on the ordering of the packages in the transaction, and that
- * ordering can't be changed, the problem sets must be parallel to
- * one another. Additionally, the filter set must be a subset of the
- * target set, given the operations available on transaction set.
- * This is good, as it lets us perform this trim in linear time, rather
- * then logarithmic or quadratic.
- *
- * @param ps problem set
- * @param filter problem filter (or NULL)
- * @return 0 no problems, 1 if problems remain
- */
-int rpmpsTrim(rpmps ps, rpmps filter);
-
-/** \ingroup rpmps
* Merge problem set into another.
* @param dest destination problem set
* @param src source problem set