From f29ec7d74a17249b3dfa721fc6ee1dcf3c77b5d5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 24 Aug 2016 16:06:10 -0700 Subject: [PATCH] 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 --- src/runtime/runtime2.go | 5 ----- 1 file changed, 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 -- 2.48.1