summaryrefslogtreecommitdiff
path: root/src/pkg/gob
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/gob')
-rw-r--r--src/pkg/gob/decode.go1
-rw-r--r--src/pkg/gob/encode.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/pkg/gob/decode.go b/src/pkg/gob/decode.go
index ce4bc0b97..2c17aee40 100644
--- a/src/pkg/gob/decode.go
+++ b/src/pkg/gob/decode.go
@@ -116,7 +116,6 @@ func decodeInt(state *decodeState) int64 {
return int64(x >> 1)
}
-type decInstr struct
type decOp func(i *decInstr, state *decodeState, p unsafe.Pointer);
// The 'instructions' of the decoding machine
diff --git a/src/pkg/gob/encode.go b/src/pkg/gob/encode.go
index 332c3d6b8..34e58466d 100644
--- a/src/pkg/gob/encode.go
+++ b/src/pkg/gob/encode.go
@@ -66,7 +66,6 @@ func encodeInt(state *encoderState, i int64){
encodeUint(state, uint64(x))
}
-type encInstr struct
type encOp func(i *encInstr, state *encoderState, p unsafe.Pointer)
// The 'instructions' of the encoding machine