diff options
author | Bin Lu <bin.lu@arm.com> | 2019-10-24 09:15:21 +0000 |
---|---|---|
committer | Bin Lu <bin.lu@arm.com> | 2019-10-24 09:15:29 +0000 |
commit | 7f9c391cf10a8cad57666535ab9b6db4b9086235 (patch) | |
tree | 7ec7dbaf064724bba1e943bec4eda7f88120933e /pkg/abi/linux/file.go | |
parent | d9fd5363409facbc5cf04b85b3b0e7dade085dd9 (diff) |
slight changes to pkg/abi
In glibc, some structures are defined differently on different
platforms.
Such as: C.struct_stat
Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg/abi/linux/file.go')
-rw-r--r-- | pkg/abi/linux/file.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go index 257f67222..c9ee098f4 100644 --- a/pkg/abi/linux/file.go +++ b/pkg/abi/linux/file.go @@ -186,25 +186,6 @@ const ( RWF_VALID = RWF_HIPRI | RWF_DSYNC | RWF_SYNC ) -// Stat represents struct stat. -type Stat struct { - Dev uint64 - Ino uint64 - Nlink uint64 - Mode uint32 - UID uint32 - GID uint32 - _ int32 - Rdev uint64 - Size int64 - Blksize int64 - Blocks int64 - ATime Timespec - MTime Timespec - CTime Timespec - _ [3]int64 -} - // SizeOfStat is the size of a Stat struct. var SizeOfStat = binary.Size(Stat{}) |