X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fllx.h;h=80a8a838063e3c2a3e05963c11030f4d141f5803;hb=df2f1ae30c2835a39f4bc6b0c14f10a2090d9401;hp=23c3bdaf8ebd0d7ebd2b3741db12106ef38952de;hpb=02b539a8876795a0fb9cb747e297eb825a2b2747;p=pspp diff --git a/src/libpspp/llx.h b/src/libpspp/llx.h index 23c3bdaf8e..80a8a83806 100644 --- a/src/libpspp/llx.h +++ b/src/libpspp/llx.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -49,7 +49,7 @@ #include #include -#include +#include "libpspp/ll.h" /* External, circular doubly linked list. @@ -186,6 +186,8 @@ size_t llx_remove_if (struct llx *r0, struct llx *r1, const struct llx_manager *); /* Non-mutating algorithms. */ +struct llx *llx_find (const struct llx *r0, const struct llx *r1, + const void *target); struct llx *llx_find_equal (const struct llx *r0, const struct llx *r1, const void *target, llx_compare_func *, void *aux);