From 6bd15469b1febef5d061905b0f7d8f69bf96a08f Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Mon, 26 Dec 2005 16:48:37 +0000 Subject: renamed rpmvercmp to versioncmp, added some fixes from isteve@bofh.cz --- lib/libalpm/alpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/alpm.c') 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)); } /** @} */ -- cgit v1.2.3-24-g4f1b