summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-12-26 16:48:37 +0000
committerJudd Vinet <judd@archlinux.org>2005-12-26 16:48:37 +0000
commit6bd15469b1febef5d061905b0f7d8f69bf96a08f (patch)
tree11e64825a4aed1d4bfdf7306fdf36215acb57118 /src/util
parent58c9d5d66387821260ba9bdd0815568039462f39 (diff)
downloadpacman-6bd15469b1febef5d061905b0f7d8f69bf96a08f.tar.xz
renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz
Diffstat (limited to 'src/util')
-rw-r--r--src/util/vercmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/vercmp.c b/src/util/vercmp.c
index 0ed3da2e..ebd9d871 100644
--- a/src/util/vercmp.c
+++ b/src/util/vercmp.c
@@ -21,7 +21,7 @@
#include <stdio.h>
#include <string.h>
-#include "rpmvercmp.h"
+#include "versioncmp.h"
int main(int argc, char *argv[])
{
@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
return(0);
}
- ret = rpmvercmp(s1, s2);
+ ret = versioncmp(s1, s2);
printf("%d\n", ret);
return(ret);
}