summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstFind.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-11-29 12:17:13 +0000
committerharti <harti@FreeBSD.org>2004-11-29 12:17:13 +0000
commite0db77dfe1c468c3507c5a1c4dfa51498f9731b7 (patch)
treebffaf3c562c2751af595939dcee49e7e71a0edfb /usr.bin/make/lst.lib/lstFind.c
parent1de8c442ef554860403a45d1f98f699cbe0de649 (diff)
downloadFreeBSD-src-e0db77dfe1c468c3507c5a1c4dfa51498f9731b7.zip
FreeBSD-src-e0db77dfe1c468c3507c5a1c4dfa51498f9731b7.tar.gz
Use typedefs for the types of the functions that are passed as arguments
to the list functions for better readability. Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/lst.lib/lstFind.c')
-rw-r--r--usr.bin/make/lst.lib/lstFind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/lst.lib/lstFind.c b/usr.bin/make/lst.lib/lstFind.c
index d27907c..f0c1141 100644
--- a/usr.bin/make/lst.lib/lstFind.c
+++ b/usr.bin/make/lst.lib/lstFind.c
@@ -64,7 +64,7 @@ __FBSDID("$FreeBSD$");
*-----------------------------------------------------------------------
*/
LstNode
-Lst_Find(Lst l, void *d, int (*cProc)(void *, void *))
+Lst_Find(Lst l, void *d, CompareProc *cProc)
{
return (Lst_FindFrom (l, Lst_First(l), d, cProc));
OpenPOWER on IntegriCloud