diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-05-01 23:58:33 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-13 15:49:02 -0500 |
commit | 8248b4bfb1abe175d73e20106a18172da5296836 (patch) | |
tree | f7d806204fd511a00bb7f1c8cb7fde224130a72e /lib/libalpm/package.c | |
parent | e80232f24c51838d3f4ccff1fbc9c8fda87e1ecb (diff) | |
download | pacman-8248b4bfb1abe175d73e20106a18172da5296836.tar.xz |
Swap the parameters of alpm_pkg_find
Now the syntax is coherent with alpm_list_find and alpm_sync_find.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
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 3989b76d..eabb2f3e 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -851,7 +851,7 @@ int _alpm_pkgname_pkg_cmp(const void *pkgname, const void *package) /* Test for existence of a package in a alpm_list_t* * of pmpkg_t* */ -pmpkg_t *_alpm_pkg_find(const char *needle, alpm_list_t *haystack) +pmpkg_t *_alpm_pkg_find(alpm_list_t *haystack, const char *needle) { alpm_list_t *lp; |