summaryrefslogtreecommitdiff
path: root/src/pacman/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/list.c')
-rw-r--r--src/pacman/list.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pacman/list.c b/src/pacman/list.c
index 1d32b0b8..9f58c3ee 100644
--- a/src/pacman/list.c
+++ b/src/pacman/list.c
@@ -97,18 +97,6 @@ static list_t *list_last(list_t *list)
return(ptr);
}
-int list_is_ptrin(void *needle, list_t *haystack)
-{
- list_t *lp;
-
- for(lp = haystack; lp; lp = lp->next) {
- if(lp->data == needle) {
- return(1);
- }
- }
- return(0);
-}
-
/* Test for existence of a string in a list_t
*/
int list_is_strin(char *needle, list_t *haystack)