Descriptionsrc/cmd/gc/*: Adjustments for compilation using Plan 9 tool chain.
gc/bits.c
. improved format with associated cast;
gc/closure.c
gc/dcl.c
gc/range.c
gc/reflect.c
gc/sinit.c
. dropped unnecessary assignments;
gc/gen.c
. dropped unnecessary assignment;
. added static qualifier to local function definition;
gc/go.h
. added varargck pragmas;
gc/lex.c
. used {} instead of ; in if statement to suppress warning;
. replaced exit(0) with exits(0);
. added compilation conditions for SIGBUS/SIGSEGV;
. dropped unnecessary assignment;
gc/mparith2.c
. dropped four unnecessary assignments/initialisations;
gc/obj.c
. added type cast to local pointer;
gc/pgen.c
. added cast and related print format;
gc/subr.c
. replaced exit(1) with exits("error");
. replaced unlink() with remove();
. renamed local cistrmp() as ucistrmp() to remove conflict with
Plan 9 function by the same name;
gc/swt.c
. added braces instead of ; as empty statment;
gc/typecheck.c
. added static qualifier to local function definition;
. dropped unnecessary assignments;
gc/walk.c
. dropped unnecessary assignments;
. added static qualifier to local function definitions;
Patch Set 1 #Patch Set 2 : diff -r 88744261dd47 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r b982a9b23f2b https://go.googlecode.com/hg/ #
Total comments: 10
Patch Set 4 : diff -r b982a9b23f2b https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 5e1053337103 https://go.googlecode.com/hg/ #
MessagesTotal messages: 7
|