Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(61)

Issue 4747044: code review 4747044: cmd/6a, cmd/6c, cmd/6l: Adjustment for compilation unde... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by lucio
Modified:
13 years, 9 months ago
Reviewers:
CC:
golang-dev, rsc
Visibility:
Public.

Description

cmd/6a, cmd/6c, cmd/6l: Adjustment for compilation under Plan 9 legacy. 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.

Patch Set 1 #

Patch Set 2 : diff -r 353a5cdb24e0 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 353a5cdb24e0 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -17 lines) Patch
M src/cmd/6a/a.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/6a/a.y View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/6a/lex.c View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/cmd/6c/gc.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/6c/swt.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/cmd/6l/Makefile View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/6l/l.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/cmd/6l/obj.c View 1 2 chunks +0 lines, -2 lines 0 comments Download
M src/cmd/6l/pass.c View 1 4 chunks +0 lines, -5 lines 0 comments Download
M src/cmd/6l/prof.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/6l/span.c View 1 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
lucio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 9 months ago (2011-07-15 09:59:01 UTC) #1
rsc
LGTM
13 years, 9 months ago (2011-07-15 15:52:56 UTC) #2
rsc
13 years, 9 months ago (2011-07-15 15:58:45 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=d7b793a7d35d ***

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
http://codereview.appspot.com/4747044

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b