Remove no longer needed sharedCmp
authorFlorian Festi <ffesti@redhat.com>
Fri, 21 Nov 2008 14:00:36 +0000 (15:00 +0100)
committerFlorian Festi <ffesti@redhat.com>
Mon, 24 Nov 2008 13:03:17 +0000 (14:03 +0100)
lib/transaction.c

index d0628a6..06c7894 100644 (file)
@@ -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