diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-17 20:09:53 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-17 20:11:06 -0700 |
commit | b8235a9576184618108ec3c1f6c6ad7eaaecb28c (patch) | |
tree | bed6e4232a23e313a91ec9f8e42eeb6885d6d041 | |
parent | 08bb1a3d64dc288c56c74f06a5b89952e287ac91 (diff) | |
download | cproc-b8235a9576184618108ec3c1f6c6ad7eaaecb28c.tar.xz |
driver: Use arrayforeach
-rw-r--r-- | driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |