mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
Linux: Dedupe generic decls
Commit #fc7a5f2 moved many of the `_t` types up a level, but didn't
remove them from arch_bits. Since `Stat` is gone, all but `time_t` can
be removed.
This commit is contained in:
parent
6216922a9d
commit
aec7bfb092
18 changed files with 0 additions and 120 deletions
|
|
@ -143,11 +143,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6.39";
|
||||
};
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -179,11 +179,4 @@ pub const HWCAP = struct {
|
|||
pub const EVTSTRM = 1 << 21;
|
||||
};
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -119,13 +119,6 @@ pub fn clone() callconv(.naked) u32 {
|
|||
);
|
||||
}
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
||||
pub const VDSO = void;
|
||||
|
|
|
|||
|
|
@ -125,12 +125,7 @@ pub fn clone() callconv(.naked) u64 {
|
|||
);
|
||||
}
|
||||
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i64;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u32;
|
||||
pub const blkcnt_t = i64;
|
||||
|
||||
pub const VDSO = struct {
|
||||
pub const CGT_SYM = "__vdso_clock_gettime";
|
||||
|
|
|
|||
|
|
@ -142,14 +142,7 @@ pub fn restore_rt() callconv(.naked) noreturn {
|
|||
);
|
||||
}
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
||||
// No VDSO used as of glibc 112a0ae18b831bf31f44d81b82666980312511d6.
|
||||
pub const VDSO = void;
|
||||
|
|
|
|||
|
|
@ -230,11 +230,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6";
|
||||
};
|
||||
|
||||
pub const blksize_t = u32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -184,11 +184,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6";
|
||||
};
|
||||
|
||||
pub const blksize_t = u32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -184,11 +184,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6";
|
||||
};
|
||||
|
||||
pub const blksize_t = u32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -131,11 +131,4 @@ pub fn clone() callconv(.naked) u32 {
|
|||
|
||||
pub const VDSO = void;
|
||||
|
||||
pub const blksize_t = u32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -269,10 +269,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6.15";
|
||||
};
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
|
|
|
|||
|
|
@ -254,11 +254,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6.15";
|
||||
};
|
||||
|
||||
pub const blksize_t = i64;
|
||||
pub const nlink_t = u64;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -124,13 +124,7 @@ pub fn clone() callconv(.naked) u32 {
|
|||
);
|
||||
}
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
|
||||
pub const VDSO = struct {
|
||||
pub const CGT_SYM = "__vdso_clock_gettime";
|
||||
|
|
|
|||
|
|
@ -124,13 +124,7 @@ pub fn clone() callconv(.naked) u64 {
|
|||
);
|
||||
}
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
|
||||
pub const VDSO = struct {
|
||||
pub const CGT_SYM = "__vdso_clock_gettime";
|
||||
|
|
|
|||
|
|
@ -152,13 +152,7 @@ pub fn restore_rt() callconv(.naked) noreturn {
|
|||
);
|
||||
}
|
||||
|
||||
pub const blksize_t = i64;
|
||||
pub const nlink_t = u64;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
|
||||
pub const VDSO = struct {
|
||||
pub const CGT_SYM = "__kernel_clock_gettime";
|
||||
|
|
|
|||
|
|
@ -228,11 +228,4 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6";
|
||||
};
|
||||
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const time_t = i64;
|
||||
pub const mode_t = u32;
|
||||
pub const dev_t = u64;
|
||||
pub const nlink_t = u32;
|
||||
pub const blksize_t = i64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
|
|
|||
|
|
@ -132,14 +132,7 @@ pub fn restore_rt() callconv(.naked) noreturn {
|
|||
}
|
||||
}
|
||||
|
||||
pub const mode_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const blksize_t = i32;
|
||||
pub const blkcnt_t = i32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
|
||||
pub const VDSO = struct {
|
||||
pub const CGT_SYM = "__vdso_clock_gettime";
|
||||
|
|
|
|||
|
|
@ -195,14 +195,7 @@ pub const VDSO = struct {
|
|||
pub const CGT_VER = "LINUX_2.6";
|
||||
};
|
||||
|
||||
pub const blksize_t = i32;
|
||||
pub const nlink_t = u32;
|
||||
pub const time_t = i32;
|
||||
pub const mode_t = u32;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
pub const blkcnt_t = i64;
|
||||
|
||||
pub const user_desc = extern struct {
|
||||
entry_number: u32,
|
||||
|
|
|
|||
|
|
@ -132,14 +132,7 @@ pub fn restore_rt() callconv(.naked) noreturn {
|
|||
}
|
||||
}
|
||||
|
||||
pub const mode_t = u64;
|
||||
pub const time_t = i64;
|
||||
pub const nlink_t = u64;
|
||||
pub const blksize_t = i64;
|
||||
pub const blkcnt_t = i64;
|
||||
pub const off_t = i64;
|
||||
pub const ino_t = u64;
|
||||
pub const dev_t = u64;
|
||||
|
||||
pub const VDSO = struct {
|
||||
pub const CGT_SYM = "__vdso_clock_gettime";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue