summaryrefslogtreecommitdiff
path: root/src/runtime/os_plan9.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-16 10:22:15 -0400
committerRuss Cox <rsc@golang.org>2014-09-16 10:22:15 -0400
commit5819f77545053174374fc02ff3e09b6a6591c22c (patch)
treec7698f0ca27a64cd0de49e36c5d0501ab187ddd7 /src/runtime/os_plan9.go
parentf1e298b92fb8286ed1b9aa24f3cdfa5dd9e0841b (diff)
downloadgo-5819f77545053174374fc02ff3e09b6a6591c22c.tar.gz
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://codereview.appspot.com/141510043
Diffstat (limited to 'src/runtime/os_plan9.go')
-rw-r--r--src/runtime/os_plan9.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/os_plan9.go b/src/runtime/os_plan9.go
index c7b5bf705..20e47bf42 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() {