projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490a0e4
)
Remove no longer needed sharedCmp
author
Florian Festi
<ffesti@redhat.com>
Fri, 21 Nov 2008 14:00:36 +0000
(15:00 +0100)
committer
Florian Festi
<ffesti@redhat.com>
Mon, 24 Nov 2008 13:03:17 +0000
(14:03 +0100)
lib/transaction.c
patch
|
blob
|
history
diff --git
a/lib/transaction.c
b/lib/transaction.c
index
d0628a6
..
06c7894
100644
(file)
--- 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