aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs6
1 files changed, 5 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index c476a34..20d4411 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -190,7 +190,6 @@ get_nvra(Header h) {
return NVRA;
}
-/* TODO: behaviour of rpmEVRcmp() & rpmEVRcompare() differs, is this correct? */
static int
do_rpmEVRcmp(const char *a, const char *b) {
int compare;
@@ -3354,6 +3353,11 @@ int
rpmEVRcmp(one, two)
char *one
char *two
+
+int
+rpmEVRcompare(one, two)
+ char *one
+ char *two
PREINIT:
int compare;
CODE: