summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-30 08:47:19 +0100
committerAaron Griffin <aaron@archlinux.org>2007-01-30 08:47:19 +0100
commit195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (patch)
tree1744dba542fda6041e9d9e6831aa1beb9b57a2d6 /src/util
parent2efeab1529d4aa82cbb9f02f2f4661dad8c13fe3 (diff)
downloadpacman-195e30e8aa1479bd10bb50de5bd34a69f0a09c9f.tar.gz
pacman-195e30e8aa1479bd10bb50de5bd34a69f0a09c9f.tar.xz
K. Piche <kpiche@rogers.com>
* gcc visiblity changes Also modified _alpm_versioncmp -> alpm_versioncmp (public function) as per K. Piche's suggestions
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 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 <alpm.h>
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);
}