[hackers] [scc] [driver] fix missing variables from build() || Quentin Rameau

From: <git_AT_suckless.org>
Date: Thu, 2 Jun 2016 12:37:04 +0200 (CEST)

commit 5a7aca21751521d32e23c7dc29d83b2448244d26
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Thu Jun 2 12:36:37 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
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
_AT_@ -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) {
_AT_@ -207,9 +208,6 @@ usage(void)
 int
 main(int argc, char *argv[])
 {
- int st, i;
- pid_t pid;
-
         atexit(terminate);
 
         arch = getenv("ARCH");
Received on Thu Jun 02 2016 - 12:37:04 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 02 2016 - 12:48:13 CEST