diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-11 15:43:10 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-11 15:43:10 +0100 |
commit | f9a7d8cba4ec1833d32dc8a9403053564b68d18a (patch) | |
tree | 628f47fd85980b218236e9e958253d24db7961d5 /lib/libalpm/package.c | |
parent | 0a65de10b1cd8bd450e47e735cb909eec13822d0 (diff) | |
download | pacman-f9a7d8cba4ec1833d32dc8a9403053564b68d18a.tar.gz pacman-f9a7d8cba4ec1833d32dc8a9403053564b68d18a.tar.xz |
Fix library interface
Two functions defined in alpm.h were not marked with SYMEXPORT, causing
linking errors if they were used.
In addition, remove the incorrect use of the 'alpm_' prefix from an internal
function and replace it with '_alpm_'.
Fixes FS#9155.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r-- | lib/libalpm/package.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index e79c5b43..937ee3e0 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -825,7 +825,7 @@ void _alpm_pkg_free(pmpkg_t *pkg) } /* Is pkgB an upgrade for pkgA ? */ -int alpm_pkg_compare_versions(pmpkg_t *local_pkg, pmpkg_t *pkg) +int _alpm_pkg_compare_versions(pmpkg_t *local_pkg, pmpkg_t *pkg) { int cmp = 0; |