From 195e30e8aa1479bd10bb50de5bd34a69f0a09c9f Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 30 Jan 2007 07:47:19 +0000 Subject: K. Piche * gcc visiblity changes Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K. Piche's suggestions --- src/util/vercmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/util/vercmp.c b/src/util/vercmp.c index e7e21695..e1f2345d 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@ -27,7 +27,7 @@ #ifndef PATH_MAX #define PATH_MAX 1024 #endif -#include "versioncmp.h" +#include int main(int argc, char *argv[]) { @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) return(0); } - ret = _alpm_versioncmp(s1, s2); + ret = alpm_versioncmp(s1, s2); printf("%d\n", ret); return(ret); } -- cgit v1.2.3-24-g4f1b