summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-12 15:20:43 -0400
committerDan McGee <dan@archlinux.org>2007-07-12 15:20:43 -0400
commit20f73d6299c08fa79c2c8edd3d1955e208e701cb (patch)
tree470b4e84b81009aaaf318c04cee3fa1dcb1e2b53 /lib/libalpm/package.h
parent653fb8fe036363dfb550785c45adcf26f6fcbfbc (diff)
downloadpacman-20f73d6299c08fa79c2c8edd3d1955e208e701cb.tar.xz
Remove versioncmp.{c,h}, clean up selective #ifdefs
Remove versioncmp.c by moving all functions to locations that make sense. Move replacement functions (for building without glibc) into util.c where they belong, and do proper checks for them instead of using __sun__, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 279e232f..e8e8d37c 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -93,6 +93,7 @@ struct __pmpkg_t {
pmdbinfrq_t infolevel;
};
+int _alpm_versioncmp(const char *a, const char *b);
pmpkg_t* _alpm_pkg_new(const char *name, const char *version);
pmpkg_t *_alpm_pkg_dup(pmpkg_t *pkg);
void _alpm_pkg_free(pmpkg_t *pkg);