From c849fac52da4aec3ed133ca65885d8fd2e29416b Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Fri, 21 Nov 2008 15:00:36 +0100 Subject: [PATCH] Remove no longer needed sharedCmp --- lib/transaction.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/transaction.c b/lib/transaction.c index d0628a6..06c7894 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -42,21 +42,6 @@ static int osOkay(const char * pkgOs) } /** - */ -static int sharedCmp(const void * one, const void * two) -{ - sharedFileInfo a = (sharedFileInfo) one; - sharedFileInfo b = (sharedFileInfo) two; - - if (a->otherPkg < b->otherPkg) - return -1; - else if (a->otherPkg > b->otherPkg) - return 1; - - return 0; -} - -/** * handleInstInstalledFiles. * @param ts transaction set * @param p current transaction element -- 2.7.4