1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:04:45 -07:00

cmd/objdump: remove two unused types

The last mention of those types in this package are in:

  commit 6bd0d0542e
  Author: Russ Cox <rsc@golang.org>
  Date:   Thu Nov 6 19:56:55 2014 -0500

      cmd/objdump, cmd/pprof: factor disassembly into cmd/internal/objfile

Found with honnef.co/go/tools/cmd/unused.

Change-Id: Iacc2902f7d0784ac0efdd92da239f3e97491469a
Reviewed-on: https://go-review.googlesource.com/41472
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Damien Lespiau 2017-04-22 18:10:09 +01:00 committed by Brad Fitzpatrick
parent c87520c598
commit 2a18cc10b1

View File

@ -53,9 +53,6 @@ func usage() {
os.Exit(2)
}
type lookupFunc func(addr uint64) (sym string, base uint64)
type disasmFunc func(code []byte, pc uint64, lookup lookupFunc) (text string, size int)
func main() {
log.SetFlags(0)
log.SetPrefix("objdump: ")