From: Ian Lance Taylor Date: Wed, 24 Aug 2016 23:06:10 +0000 (-0700) Subject: runtime: remove unused type sigtabtt X-Git-Tag: go1.8beta1~1648 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f29ec7d74a17249b3dfa721fc6ee1dcf3c77b5d5;p=gostls13.git 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 Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- 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