diff options
author | Allan McRae <allan@archlinux.org> | 2012-08-12 20:48:53 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 12:35:34 +1000 |
commit | 62f1c590fc26efe7047f7dcbeac8a0910cfb50a5 (patch) | |
tree | 1ef3f2289209fe26ba0c38c9f74cfb12ad9d8a92 /lib/libalpm/package.c | |
parent | 7a24f909fc21deb16271be5bc2cc5178f880c77a (diff) | |
download | pacman-62f1c590fc26efe7047f7dcbeac8a0910cfb50a5.tar.xz |
Make alpm_pkg_find public
This function is particularly useful, so make it public.
Signed-off-by: Allan McRae <allan@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 f3e0b7fa..853771f8 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -685,7 +685,7 @@ int _alpm_pkg_cmp(const void *p1, const void *p2) /* Test for existence of a package in a alpm_list_t* * of alpm_pkg_t* */ -alpm_pkg_t *_alpm_pkg_find(alpm_list_t *haystack, const char *needle) +alpm_pkg_t SYMEXPORT *alpm_pkg_find(alpm_list_t *haystack, const char *needle) { alpm_list_t *lp; unsigned long needle_hash; |