diff options
author | Russ Cox <rsc@golang.org> | 2014-09-16 10:22:15 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-16 10:22:15 -0400 |
commit | d2574e2adb658b46ea2d8e22b3195cc14da1affe (patch) | |
tree | 58810c5dfaf8842fa3584530cc0c8ccfa1be6b62 /src/runtime/os_plan9.go | |
parent | 8d61334dd5b08c8076e343aa33197bd219cdf922 (diff) | |
download | go-d2574e2adb658b46ea2d8e22b3195cc14da1affe.tar.gz go-d2574e2adb658b46ea2d8e22b3195cc14da1affe.zip |
runtime: remove duplicated Go constants
The C header files are the single point of truth:
every C enum constant Foo is available to Go as _Foo.
Remove or redirect duplicate Go declarations so they
cannot be out of sync.
Eventually we will need to put constants in Go, but for now having
them be out of sync with C is too risky. These predate the build
support for auto-generating Go constants from the C definitions.
LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/141510043
Diffstat (limited to 'src/runtime/os_plan9.go')
-rw-r--r-- | src/runtime/os_plan9.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/os_plan9.go b/src/runtime/os_plan9.go index c7b5bf7050..20e47bf42e 100644 --- a/src/runtime/os_plan9.go +++ b/src/runtime/os_plan9.go @@ -24,10 +24,6 @@ func setfpmasks() func tstart_plan9(newm *m) func errstr() string -// The size of the note handler frame varies among architectures, -// but 512 bytes should be enough for every implementation. -const stackSystem = 512 - type _Plink uintptr func os_sigpipe() { |