summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstForEach.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/lstForEach.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/lstForEach.c')
-rw-r--r--usr.bin/make/lst.lib/lstForEach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/lst.lib/lstForEach.c b/usr.bin/make/lst.lib/lstForEach.c
index ee3e041..0d73cd0 100644
--- a/usr.bin/make/lst.lib/lstForEach.c
+++ b/usr.bin/make/lst.lib/lstForEach.c
@@ -65,7 +65,7 @@ __FBSDID("$FreeBSD$");
*-----------------------------------------------------------------------
*/
void
-Lst_ForEach(Lst l, int (*proc)(void *, void *), void *d)
+Lst_ForEach(Lst l, DoProc *proc, void *d)
{
Lst_ForEachFrom(l, Lst_First(l), proc, d);
OpenPOWER on IntegriCloud