summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r--lib/rpmdb.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index 80ae931a6..1dc5e5a4a 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -454,12 +454,12 @@ static inline int dbiRemoveIndexRecord(dbiIndexSet set, dbiIndexRecord rec) {
return (numCopied == num);
}
-/* XXX rpminstall.c, transaction.c */
+/* XXX transaction.c */
unsigned int dbiIndexSetCount(dbiIndexSet set) {
return set->count;
}
-/* XXX rpminstall.c, transaction.c */
+/* XXX transaction.c */
unsigned int dbiIndexRecordOffset(dbiIndexSet set, int recno) {
return set->recs[recno].recOffset;
}
@@ -479,7 +479,7 @@ static inline void dbiIndexRecordOffsetSave(dbiIndexSet set, int recno, unsigned
set->recs[recno].recOffset = recoff;
}
-/* XXX depends.c, install.c, query.c, rpminstall.c, transaction.c */
+/* XXX transaction.c */
void dbiFreeIndexSet(dbiIndexSet set) {
if (set) {
if (set->recs) free(set->recs);
@@ -683,12 +683,6 @@ exit:
return rc;
}
-/* XXX python/upgrade.c */
-int rpmdbOpenForTraversal(const char * prefix, rpmdb * dbp)
-{
- return openDatabase(prefix, NULL, dbp, O_RDONLY, 0644, RPMDB_FLAG_MINIMAL);
-}
-
/* XXX python/rpmmodule.c */
int rpmdbOpen (const char * prefix, rpmdb *dbp, int mode, int perms)
{