summaryrefslogtreecommitdiff
path: root/lib/fprint.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2016-12-14 18:57:58 +0200
committerPanu Matilainen <pmatilai@redhat.com>2016-12-14 18:57:58 +0200
commitb728665bc88b917e4476f59c5be7701136cb9ba0 (patch)
tree3236b3a7d4eac1e512959d4d697807c80c2200b1 /lib/fprint.c
parentab676d630088eff17c8237ad8b6d07303d58a652 (diff)
downloadrpm-b728665bc88b917e4476f59c5be7701136cb9ba0.tar.gz
Replace rpmdbCheckSignals() with rpmsqPoll() everywhere, eliminate from API
rpmdbCheckSignals() is a public function and it'd be trivial to keep it but there are no known callers and its such a hysterical name that lets just get rid of it while we're breaking the ABI anyway...
Diffstat (limited to 'lib/fprint.c')
-rw-r--r--lib/fprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fprint.c b/lib/fprint.c
index 65eaeec66..b810e4d2b 100644
--- a/lib/fprint.c
+++ b/lib/fprint.c
@@ -6,7 +6,7 @@
#include <rpm/rpmfileutil.h> /* for rpmCleanPath */
#include <rpm/rpmts.h>
-#include <rpm/rpmdb.h>
+#include <rpm/rpmsq.h>
#include "lib/rpmdb_internal.h"
#include "lib/rpmfi_internal.h"
@@ -485,7 +485,7 @@ void fpCachePopulate(fingerPrintCache fpc, rpmts ts, int fileCount)
pi = rpmtsiInit(ts);
while ((p = rpmtsiNext(pi, 0)) != NULL) {
fingerPrint *fpList;
- (void) rpmdbCheckSignals();
+ (void) rpmsqPoll();
if ((fi = rpmteFiles(p)) == NULL)
continue; /* XXX can't happen */
@@ -520,7 +520,7 @@ void fpCachePopulate(fingerPrintCache fpc, rpmts ts, int fileCount)
pi = rpmtsiInit(ts);
while ((p = rpmtsiNext(pi, 0)) != NULL) {
- (void) rpmdbCheckSignals();
+ (void) rpmsqPoll();
fs = rpmteGetFileStates(p);
fc = rpmfsFC(fs);