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

6a/a.h:
. Dropped <u.h> and <libc.h>.
. Made definition of EOF conditional.

6a/a.y:
. Added <u.h> and <libc.h>.

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

6c/gc.h:
. Added varargck pragma for "lD".

6c/swt.c:
. Dropped unused "thestring" argument in Bprint() calls.

6l/Makefile:
. Dropped unneeded directory prefix.

6l/l.h:
. Dropped unneeded directory prefix.
. Added varargck pragma for "I" and "i".

6l/obj.c:
. Dropped unneeded assignment.
. Dropped unreachable goto statement.

6l/pass.c:
. Dropped assignments flagged as unused.

6l/prof.c:
. Replaced "#if 0" with "#ifdef NOTDEF".

6l/span.c:
. Dropped unused incrementation.
. Added USED() as required.
. Dropped unreachable "return" statement.

R=golang-dev
CC=golang-dev, rsc
https://golang.org/cl/4747044
src/cmd/6a/a.h
src/cmd/6a/a.y
src/cmd/6a/lex.c
src/cmd/6c/gc.h
src/cmd/6c/swt.c
src/cmd/6l/Makefile
src/cmd/6l/l.h
src/cmd/6l/obj.c
src/cmd/6l/pass.c
src/cmd/6l/prof.c
src/cmd/6l/span.c