index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-03 08:13:59 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-03 08:13:59 +0000 |
commit | 7f5dada8851c3b40ba44ed92e46315cefa9006b2 (patch) | |
tree | 402349c1d0cb2e82a4606872954b4d46e4df10ed /lib/libalpm/alpm_list.c | |
parent | a0dbade77420f6e83be1406ae67a99e337ce57ec (diff) |
-rw-r--r-- | lib/libalpm/alpm_list.c | 2 |
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index 36517fd2..0737fc89 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -236,7 +236,7 @@ alpm_list_t* alpm_list_msort(alpm_list_t *list, int n, alpm_list_fn_cmp fn) * @param data output parameter containing the data member of the item removed * @return the resultant list, or NULL on failure */ -alpm_list_t *alpm_list_remove(alpm_list_t *haystack, void *needle, alpm_list_fn_cmp fn, void **data) +alpm_list_t *alpm_list_remove(alpm_list_t *haystack, const void *needle, alpm_list_fn_cmp fn, void **data) { /* TODO I modified this to remove ALL matching items. Do we need a remove_first? */ alpm_list_t *i = haystack, *tmp = NULL; |