From f8cd4858ca35400eaf9e298ff3e0e9c245e0d1e3 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 9 Feb 2007 21:08:10 +0000 Subject: * I made "alpm_versioncmp" public a while back, without noticing this was already done (alpm_pkg_vercmp). I dropped this change, making versioncmp "private" again. (alpm_versioncmp -> _alpm_versioncmp, hidden symbol) * Make alpm_get_upgrades use the same version check that -Su and -S use. --- src/util/vercmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/util/vercmp.c b/src/util/vercmp.c index e1f2345d..75972532 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) return(0); } - ret = alpm_versioncmp(s1, s2); + ret = alpm_pkg_vercmp(s1, s2); printf("%d\n", ret); return(ret); } -- cgit v1.2.3-70-g09d2