scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 5a7aca21751521d32e23c7dc29d83b2448244d26
parent 4fa2093ad0946c767dd20364618382834e571a99
Author: Quentin Rameau <quinq@fifth.space>
Date:   Thu,  2 Jun 2016 12:36:37 +0200

[driver] fix missing variables from build()

Diffstat:
Mdriver/posix/scc.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -144,7 +144,8 @@ spawn(int t) void build(char *file) { - int tool, out, keepfile; + pid_t pid; + int i, st, tool, out, keepfile; static int preout; for (tool = CC1; tool < NR_TOOLS; tool = out) { @@ -207,9 +208,6 @@ usage(void) int main(int argc, char *argv[]) { - int st, i; - pid_t pid; - atexit(terminate); arch = getenv("ARCH");