diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-06 21:12:11 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-02-06 21:12:11 -0700 |
| commit | 9f3165540ed0e2b1fec0ab2eb16d4c06d899c86a (patch) | |
| tree | c452568f46d251765d42d7db3d3b2d8471eae787 /lib/std/os/linux/mips64.zig | |
| parent | 3da6043e2c3fa657cc7261e8cffdf3564c02dda9 (diff) | |
| download | zig-9f3165540ed0e2b1fec0ab2eb16d4c06d899c86a.tar.gz zig-9f3165540ed0e2b1fec0ab2eb16d4c06d899c86a.zip | |
std.os.linux.MAP: use a packed struct
Introduces type safety to this constant. Eliminates one use of
`usingnamespace`.
Diffstat (limited to 'lib/std/os/linux/mips64.zig')
| -rw-r--r-- | lib/std/os/linux/mips64.zig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/std/os/linux/mips64.zig b/lib/std/os/linux/mips64.zig index d986110979..09499cbf9f 100644 --- a/lib/std/os/linux/mips64.zig +++ b/lib/std/os/linux/mips64.zig @@ -256,15 +256,6 @@ pub const LOCK = struct { pub const MMAP2_UNIT = 4096; -pub const MAP = struct { - pub const NORESERVE = 0x0400; - pub const GROWSDOWN = 0x1000; - pub const DENYWRITE = 0x2000; - pub const EXECUTABLE = 0x4000; - pub const LOCKED = 0x8000; - pub const @"32BIT" = 0x40; -}; - pub const VDSO = struct { pub const CGT_SYM = "__kernel_clock_gettime"; pub const CGT_VER = "LINUX_2.6.39"; |
