Permalink
Browse files

cmd/link: Grouping declaration of variables on ld/pe.go

Change-Id: I33284d3154db43b2b89418c5076df79407e7cf41
Reviewed-on: https://go-review.googlesource.com/60931
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
  • Loading branch information...
avelino authored and ianlancetaylor committed Sep 1, 2017
1 parent 99c757a commit 6a537c1d4718f2804bbad983037b9a6e4b40bc60
Showing with 9 additions and 13 deletions.
  1. +9 −13 src/cmd/link/internal/ld/pe.go
@@ -230,14 +230,6 @@ var dosstub = []uint8{
0x00,
}
var rsrcsym *Symbol
var PESECTHEADR int32
var PEFILEHEADR int32
var pe64 int
type Imp struct {
s *Symbol
off uint64
@@ -253,11 +245,15 @@ type Dll struct {
next *Dll
}
var dr *Dll
var dexport [1024]*Symbol
var nexport int
var (
rsrcsym *Symbol
PESECTHEADR int32
PEFILEHEADR int32
pe64 int
dr *Dll
dexport [1024]*Symbol
nexport int
)
// peStringTable is a COFF string table.
type peStringTable struct {

0 comments on commit 6a537c1

Please sign in to comment.