summaryrefslogtreecommitdiff
path: root/lib/rpmps.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-26 11:22:18 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-26 11:22:18 +0200
commit0aba719592a1dd6532a1e70e9defbad5e62fc1ed (patch)
tree30077380da29fb6ab71d5160ebdc50b9f87c2a3d /lib/rpmps.c
parent1102e35b20ebebb897785266bd6ba6b8a7aab323 (diff)
downloadrpm-0aba719592a1dd6532a1e70e9defbad5e62fc1ed.tar.gz
Eliminate rpmpsAppend() from the API
- This was only a convenience function that shouldn't really have been exported to begin with, and is not necessary at all - bury it inside rpmte.c for now to hide lazy problem set allocation - In the other news of the day... According to git, this happens to be the 10000th commit to the master branch of this codebase. Happy anniversary to rpm :P
Diffstat (limited to 'lib/rpmps.c')
-rw-r--r--lib/rpmps.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c
index c353dcdc4..bdc2ba4fa 100644
--- a/lib/rpmps.c
+++ b/lib/rpmps.c
@@ -139,18 +139,6 @@ void rpmpsAppendProblem(rpmps ps, rpmProblem prob)
ps->numProblems++;
}
-void rpmpsAppend(rpmps ps, rpmProblemType type,
- const char * pkgNEVR, fnpyKey key, const char * altNEVR,
- const char * str, uint64_t number)
-{
- rpmProblem p = NULL;
- if (ps == NULL) return;
-
- p = rpmProblemCreate(type, pkgNEVR, key, altNEVR, str, number);
- rpmpsAppendProblem(ps, p);
- rpmProblemFree(p);
-}
-
/* XXX TODO: implement with iterators */
int rpmpsTrim(rpmps ps, rpmps filter)
{