summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/list.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-05-03 19:24:20 +0200
committerAurelien Foret <aurelien@archlinux.org>2005-05-03 19:24:20 +0200
commit9177ce7962ee14ca86c3da3f5c46b3ab611a521d (patch)
tree4fe608a93fda5afe52b1bd82ed3b3eb1e2bdf61e /lib/libalpm/list.h
parent220c084770895353fd8fecb774da1631a5e82ed3 (diff)
downloadpacman-9177ce7962ee14ca86c3da3f5c46b3ab611a521d.tar.gz
pacman-9177ce7962ee14ca86c3da3f5c46b3ab611a521d.tar.xz
reimplemented list_remove to deal with lists of any kind of data
Diffstat (limited to 'lib/libalpm/list.h')
-rw-r--r--lib/libalpm/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/list.h b/lib/libalpm/list.h
index 307aff35..35bacd00 100644
--- a/lib/libalpm/list.h
+++ b/lib/libalpm/list.h
@@ -50,7 +50,7 @@ PMList *pm_list_new();
void pm_list_free(PMList *list);
PMList *pm_list_add(PMList *list, void *data);
PMList *pm_list_add_sorted(PMList *list, void *data, pm_fn_cmp fn);
-PMList* _alpm_list_remove(PMList* list, PMList* item);
+PMList *_alpm_list_remove(PMList *haystack, void *needle, pm_fn_cmp fn, void **data);
int pm_list_count(PMList *list);
int pm_list_is_in(void *needle, PMList *haystack);
PMList *pm_list_is_strin(char *needle, PMList *haystack);