diff options
author | Lucio De Re <lucio.dere@gmail.com> | 2011-07-01 09:50:24 -0400 |
---|---|---|
committer | Lucio De Re <lucio.dere@gmail.com> | 2011-07-01 09:50:24 -0400 |
commit | 1455d049fe20cc24667c7bc58676652917e87abb (patch) | |
tree | 9bf67fdbbb4fa49ecbd613d91014111787cfc62d /src/cmd/8c/swt.c | |
parent | c2680b9e12a6575884d074eb1271ae362bdb2693 (diff) | |
download | go-1455d049fe20cc24667c7bc58676652917e87abb.tar.gz |
8c: fixes for Plan 9 build
8c/gc.h:
. Added <u.h> header.
. Added "lD" pragma for "*Adr" to supplement "D".
8c/swt.c:
. Removed unreferenced "thestring" arguments in Bprint() calls.
cc/acid.c:
cc/com.c:
cc/com64.c:
cc/dcl.c:
cc/scon.c:
. Added <u.h>, required by "cc.h".
cc/bits.c:
. Added <u.h>, required by "cc.h".
cc/cc.h:
. Removed <u.h> and <ctype.h>.
. Added "O" pragma to accept "uint" as well as "int".
. Added new "U" pragma (char *).
cc/cc.y:
. Added <u.h> before <stdio.h> (and "cc.h").
cc/dpchk.c:
cc/mac.c:
. Added <u.h> and <ctype.h>.
cc/funct.c:
. Added <u.h>, required by "cc.h".
cc/godefs.c
. Added <u.h>, required by "cc.h".
. Dropped unused "t" argument in Bprint().
cc/lex.c:
. Added <u.h> and <ctype.h>.
. Removed unnecessary incrementation.
. Changed exit() invocations with exits().
cc/omachcap.c:
. Added <u.h>, required by "cc.h".
. USED(n) for unused argument to machcap().
cc/sub.c:
. Added <u.h> and <ctype.h>.
R=rsc
CC=golang-dev
http://codereview.appspot.com/4629070
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/8c/swt.c')
-rw-r--r-- | src/cmd/8c/swt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/8c/swt.c b/src/cmd/8c/swt.c index d07a5439c..769ef2c66 100644 --- a/src/cmd/8c/swt.c +++ b/src/cmd/8c/swt.c @@ -237,10 +237,10 @@ outcode(void) Bprint(&b, "\n"); Bprint(&b, "$$ // exports\n\n"); Bprint(&b, "$$ // local types\n\n"); - Bprint(&b, "$$ // dynimport\n", thestring); + Bprint(&b, "$$ // dynimport\n"); for(i=0; i<ndynimp; i++) Bprint(&b, "dynimport %s %s %s\n", dynimp[i].local, dynimp[i].remote, dynimp[i].path); - Bprint(&b, "\n$$ // dynexport\n", thestring); + Bprint(&b, "\n$$ // dynexport\n"); for(i=0; i<ndynexp; i++) Bprint(&b, "dynexport %s %s\n", dynexp[i].local, dynexp[i].remote); Bprint(&b, "\n$$\n\n"); |