diff options
author | harti <harti@FreeBSD.org> | 2004-11-26 12:17:23 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-11-26 12:17:23 +0000 |
commit | 1ce692dc6551a683467623fc437c34f027de50d1 (patch) | |
tree | ab00e91c580c3743e67b1db587afc97f17349ebd /usr.bin/make/lst.lib/lstForEach.c | |
parent | e257308b07ececec004a50897bcb88d5ae23203e (diff) | |
download | FreeBSD-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.c | 8 |
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); } - |