commit 5a7aca21751521d32e23c7dc29d83b2448244d26
Author:     Quentin Rameau <[email protected]>
AuthorDate: Thu Jun 2 12:36:37 2016 +0200
Commit:     Quentin Rameau <[email protected]>
CommitDate: Thu Jun 2 12:36:37 2016 +0200

    [driver] fix missing variables from build()

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 532c2b0..7c432b2 100644
--- 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");

Reply via email to