]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors
authorShenghou Ma <minux.ma@gmail.com>
Tue, 5 Feb 2013 13:43:04 +0000 (21:43 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 5 Feb 2013 13:43:04 +0000 (21:43 +0800)
commit255fb521da978916da0d4a2052d7941d950e2a6a
tree1cb3d52e781c4e353dd5bafb24382b5b23d0ed0f
parentdff017ea990795b43684d986dce3e0b9c23c2d65
cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors
Plan 9 compilers insist this but as we don't have Plan 9
builders, we'd better let gcc check the prototypes.

Inspired by CL 7289050.

R=golang-dev, seed, dave, rsc, lucio.dere
CC=akumar, golang-dev
https://golang.org/cl/7288056
src/cmd/5g/gg.h
src/cmd/6g/gg.h
src/cmd/8g/gg.h
src/cmd/dist/build.c
src/cmd/ld/lib.h
src/cmd/ld/macho.h
src/cmd/prof/main.c
src/libmach/darwin.c