summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstForEach.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-11-26 12:17:23 +0000
committerharti <harti@FreeBSD.org>2004-11-26 12:17:23 +0000
commit1ce692dc6551a683467623fc437c34f027de50d1 (patch)
treeab00e91c580c3743e67b1db587afc97f17349ebd /usr.bin/make/lst.lib/lstForEach.c
parente257308b07ececec004a50897bcb88d5ae23203e (diff)
downloadFreeBSD-src-1ce692dc6551a683467623fc437c34f027de50d1.zip
FreeBSD-src-1ce692dc6551a683467623fc437c34f027de50d1.tar.gz
Style: prototypes, un-register and remove some empty lines.
Diffstat (limited to 'usr.bin/make/lst.lib/lstForEach.c')
-rw-r--r--usr.bin/make/lst.lib/lstForEach.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/make/lst.lib/lstForEach.c b/usr.bin/make/lst.lib/lstForEach.c
index 2df3f9f..b3a7e66 100644
--- a/usr.bin/make/lst.lib/lstForEach.c
+++ b/usr.bin/make/lst.lib/lstForEach.c
@@ -63,13 +63,9 @@ __FBSDID("$FreeBSD$");
*
*-----------------------------------------------------------------------
*/
-/*VARARGS2*/
void
-Lst_ForEach (l, proc, d)
- Lst l;
- register int (*proc)(void *, void *);
- register void * d;
+Lst_ForEach(Lst l, int (*proc)(void *, void *), void *d)
{
+
Lst_ForEachFrom(l, Lst_First(l), proc, d);
}
-
OpenPOWER on IntegriCloud