diff options
author | Dan McGee <dan@archlinux.org> | 2008-05-14 00:37:51 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-14 00:37:51 -0500 |
commit | a8ee1854135f333091337e3dbcb1f96cdb1aab01 (patch) | |
tree | ff19ee0cd3fbee34033d3c61074cd3b219a1e764 /lib/libalpm/alpm.h | |
parent | 84283672853350a84d2a71b72dc06e180cad1587 (diff) | |
download | pacman-a8ee1854135f333091337e3dbcb1f96cdb1aab01.tar.xz |
Remove wrapper call around versioncmp
Actually, just rename _alpm_versioncmp to alpm_pkg_vercmp and get rid of the
need for a wrapper since it did nothing anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 7cef2abc..4720b222 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -188,7 +188,7 @@ int alpm_pkg_load(const char *filename, unsigned short full, pmpkg_t **pkg); int alpm_pkg_free(pmpkg_t *pkg); int alpm_pkg_checkmd5sum(pmpkg_t *pkg); char *alpm_fetch_pkgurl(const char *url); -int alpm_pkg_vercmp(const char *ver1, const char *ver2); +int alpm_pkg_vercmp(const char *a, const char *b); alpm_list_t *alpm_pkg_compute_requiredby(pmpkg_t *pkg); const char *alpm_pkg_get_filename(pmpkg_t *pkg); |