diff options
author | harti <harti@FreeBSD.org> | 2004-11-29 12:17:13 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-11-29 12:17:13 +0000 |
commit | e0db77dfe1c468c3507c5a1c4dfa51498f9731b7 (patch) | |
tree | bffaf3c562c2751af595939dcee49e7e71a0edfb /usr.bin/make/for.c | |
parent | 1de8c442ef554860403a45d1f98f699cbe0de649 (diff) | |
download | FreeBSD-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/for.c')
-rw-r--r-- | usr.bin/make/for.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c index 6502401..16c8ebf 100644 --- a/usr.bin/make/for.c +++ b/usr.bin/make/for.c @@ -293,6 +293,6 @@ For_Run(int lineno) Lst_ForEach(arg.lst, ForExec, (void *) &arg); free(arg.var); - Lst_Destroy(arg.lst, (void (*)(void *)) free); + Lst_Destroy(arg.lst, free); Buf_Destroy(arg.buf, TRUE); } |