index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-05-04 23:42:01 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-04 23:42:01 -0500 |
commit | eb6af031ec83c4c0c1d7e12d1cc8f585197c025f (patch) | |
tree | 7860f37d4552fa1a66f0dd013cfa935658c71361 /src/util/vercmp.c | |
parent | 4f80993933a3feee68758c27c58e9cf5d84bf20e (diff) |
-rw-r--r-- | src/util/vercmp.c | 6 |
diff --git a/src/util/vercmp.c b/src/util/vercmp.c index 778ac55a..959dc137 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@ -23,12 +23,14 @@ #include <stdio.h> /* printf */ #include <string.h> /* strncpy */ -#include <alpm.h> - #define BASENAME "vercmp" #define MAX_LEN 255 +/* forward declaration, comes from vercmp.o in libalpm source that is linked in + * directly so we don't have any library deps */ +int alpm_pkg_vercmp(const char *a, const char *b); + static void usage() { fprintf(stderr, "usage: %s <ver1> <ver2>\n\n", BASENAME); |