[pacman-dev] [PATCH] add SYMEXPORT to alpm_filelist_contains

Andrew Gregory andrew.gregory.8 at gmail.com
Tue Feb 19 20:34:33 EST 2013


alpm_filelist_contains is listed in alpm.h and should be public but was
not exported.

Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 lib/libalpm/filelist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libalpm/filelist.c b/lib/libalpm/filelist.c
index 6a24903..697dd23 100644
--- a/lib/libalpm/filelist.c
+++ b/lib/libalpm/filelist.c
@@ -324,7 +324,7 @@ int _alpm_files_cmp(const void *f1, const void *f2)
 }
 
 
-char *alpm_filelist_contains(alpm_filelist_t *filelist,
+char SYMEXPORT *alpm_filelist_contains(alpm_filelist_t *filelist,
 		const char *path)
 {
 	alpm_file_t key, *match;
-- 
1.8.1.3



More information about the pacman-dev mailing list