diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-03 03:46:28 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-02-04 00:55:46 +0100 |
commit | 14fd1e63a2ce420c555c6de34a815a8b62a9859b (patch) | |
tree | c7365b8f72e57f9c86ddb91aa8ee2e5660be6e8e /m4/gettext.m4 | |
parent | 09e582b4117356f996f6d94ca5e490aebd0a0fd5 (diff) | |
download | pacman-14fd1e63a2ce420c555c6de34a815a8b62a9859b.tar.gz pacman-14fd1e63a2ce420c555c6de34a815a8b62a9859b.tar.xz |
Add new alpm_list_remove_item() function
This takes in the list and a list item, and does the pointer dance necessary
to remove it from the list regardless of whether it is first, last, or
somewhere in the middle. It is useful for callers that already know what
item needs to be removed and have a pointer to it rather than doing a search
by data that the plain alpm_list_remove() does.
Refactor alpm_list_remove() to use this function as well.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'm4/gettext.m4')
0 files changed, 0 insertions, 0 deletions