cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit b8235a9576184618108ec3c1f6c6ad7eaaecb28c
parent 08bb1a3d64dc288c56c74f06a5b89952e287ac91
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 17 Apr 2019 20:09:53 -0700

driver: Use arrayforeach

Diffstat:
Mdriver.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/driver.c b/driver.c @@ -488,7 +488,7 @@ main(int argc, char *argv[]) usage("cannot specify -o with multiple input files without linking"); } } - for (input = inputs.val; input < (struct input *)((char *)inputs.val + inputs.len); ++input) + arrayforeach (&inputs, input) buildobj(input, output, last); if (last == LINK) { if (!output)