Last active
August 29, 2015 14:26
-
-
Save oshimaya/0e2be9a12974675eb726 to your computer and use it in GitHub Desktop.
diff for netbsd/arm-6 golang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- go/src/syscall/ztypes_netbsd_arm.go.orig 2015-02-18 13:38:34.000000000 +0900 | |
+++ go/src/syscall/ztypes_netbsd_arm.go 2015-08-01 12:02:39.000000000 +0900 | |
@@ -21,13 +21,11 @@ | |
type Timespec struct { | |
Sec int64 | |
Nsec int32 | |
- Pad_cgo_0 [4]byte | |
} | |
type Timeval struct { | |
Sec int64 | |
Usec int32 | |
- Pad_cgo_0 [4]byte | |
} | |
type Rusage struct { | |
@@ -59,12 +57,10 @@ | |
type Stat_t struct { | |
Dev uint64 | |
Mode uint32 | |
- Pad_cgo_0 [4]byte | |
Ino uint64 | |
Nlink uint32 | |
Uid uint32 | |
Gid uint32 | |
- Pad_cgo_1 [4]byte | |
Rdev uint64 | |
Atimespec Timespec | |
Mtimespec Timespec | |
@@ -76,7 +72,6 @@ | |
Flags uint32 | |
Gen uint32 | |
Spare [2]uint32 | |
- Pad_cgo_2 [4]byte | |
} | |
type Statfs_t [0]byte | |
@@ -228,7 +223,6 @@ | |
Fflags uint32 | |
Data int64 | |
Udata int32 | |
- Pad_cgo_0 [4]byte | |
} | |
type FdSet struct { | |
@@ -237,7 +231,7 @@ | |
const ( | |
SizeofIfMsghdr = 0x98 | |
- SizeofIfData = 0x88 | |
+ SizeofIfData = 0x84 | |
SizeofIfaMsghdr = 0x18 | |
SizeofIfAnnounceMsghdr = 0x18 | |
SizeofRtMsghdr = 0x78 | |
@@ -253,6 +247,7 @@ | |
Index uint16 | |
Pad_cgo_0 [2]byte | |
Data IfData | |
+ Pad_cgo_1 [4]byte | |
} | |
type IfData struct { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment