]> Cypherpunks repositories - gostls13.git/commit
5a, 5c, 5l: fix for Plan 9 build
authorLucio De Re <lucio.dere@gmail.com>
Fri, 15 Jul 2011 15:58:28 +0000 (11:58 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 15 Jul 2011 15:58:28 +0000 (11:58 -0400)
commit5ea4d73b175cf49196061ff89e07d37b66b3a111
treee9bd273d002f9378d110416fa7670d89571fcd16
parent0490eb60bbe27e74e4a884867335128690ff8eb3
5a, 5c, 5l: fix for Plan 9 build

5a/a.h:
. Removed <u.h> and <lib.h>.
. Made definition of EOF conditional.

5a/a.y:
. Added <u.h> and <lib.h>.

5a/lex.c:
. Added <u.h> and <lib.h>.
. Dropped <ctype.h> (now in <u.h>).

5c/peep.c:
. Removed unnecessary "return 0" statement.

5c/reg.c:
. Added compilation condition around unused code.

5c/swt.c:
. Removed unused "thestring" argument from Bprint() calls.

5l/asm.c:
. Added USED() statements as required.
. Adjusted a few format specifications.
. Added compilation condition around unused code.

5l/l.h:
. Dropped directory prefix from <../5l/5.out.h>.
. Added varargck pragma for "I" and "i".

5l/obj.c:
. Cascaded consecutive "if" statements.
. Dropped unnecessary incrementation and assignments.

5l/pass.c:
. Dropped unnecessary assignment.

5l/prof.c:
. #if 0 converted to #ifdef NOTDEF.

5l/span.c:
. Dropped unnecessary incrementation and assignments.

R=golang-dev
CC=golang-dev, rsc
https://golang.org/cl/4752041
12 files changed:
src/cmd/5a/a.h
src/cmd/5a/a.y
src/cmd/5a/lex.c
src/cmd/5c/peep.c
src/cmd/5c/reg.c
src/cmd/5c/swt.c
src/cmd/5l/asm.c
src/cmd/5l/l.h
src/cmd/5l/obj.c
src/cmd/5l/pass.c
src/cmd/5l/prof.c
src/cmd/5l/span.c