aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-08-24 16:06:10 -0700
committerIan Lance Taylor <iant@golang.org>2016-08-25 03:51:24 +0000
commitf29ec7d74a17249b3dfa721fc6ee1dcf3c77b5d5 (patch)
tree1dfd0adcf9ca70fbba9d9f0bd5b6c864cdd99d23 /src/runtime/runtime2.go
parent62861889863d3d61f546d01aa7bd9824df1b33df (diff)
downloadgo-f29ec7d74a17249b3dfa721fc6ee1dcf3c77b5d5.tar.xz
runtime: remove unused type sigtabtt
The type sigtabtt was introduced by an automated tool in https://golang.org/cl/167550043. It was the Go version of the C type SigTab. However, when the C code using SigTab was converted to Go in https://golang.org/cl/168500044 it was rewritten to use a different Go type, sigTabT, rather than sigtabtt (the difference being that sigTabT uses string where sigtabtt uses *int8 from the C type char*). So this is just a dreg from the conversion that was never actually used. Change-Id: I2ec6eb4b25613bf5e5ad1dbba1f4b5ff20f80f55 Reviewed-on: https://go-review.googlesource.com/27691 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 6119e75203..24f85d943d 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -575,11 +575,6 @@ const (
_LockInternal = 2
)
-type sigtabtt struct {
- flags int32
- name *int8
-}
-
const (
_SigNotify = 1 << iota // let signal.Notify have signal, even if from kernel
_SigKill // if signal.Notify doesn't take it, exit quietly