summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
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 /lib/libalpm/alpm.c
parent58c9d5d66387821260ba9bdd0815568039462f39 (diff)
downloadpacman-6bd15469b1febef5d061905b0f7d8f69bf96a08f.tar.xz
renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 3afe0301..510d898e 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -34,7 +34,7 @@
/* pacman */
#include "log.h"
#include "error.h"
-#include "rpmvercmp.h"
+#include "versioncmp.h"
#include "md5.h"
#include "list.h"
#include "package.h"
@@ -479,7 +479,7 @@ int alpm_pkg_free(pmpkg_t *pkg)
int alpm_pkg_vercmp(const char *ver1, const char *ver2)
{
- return(rpmvercmp(ver1, ver2));
+ return(versioncmp(ver1, ver2));
}
/** @} */