aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/x86_64.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-06 20:35:50 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-12-06 20:38:54 -0700
commit50eb7983cde6e07d2613a6f3ab164ca055d9306f (patch)
treebe9361a684543867bf3fd1711e64c7974660d074 /lib/std/os/linux/x86_64.zig
parentc8aba15c222e5bb8cf5d2d48678761197f564351 (diff)
downloadzig-50eb7983cde6e07d2613a6f3ab164ca055d9306f.tar.gz
zig-50eb7983cde6e07d2613a6f3ab164ca055d9306f.zip
remove most conditional compilation based on stage1
There are still a few occurrences of "stage1" in the standard library and self-hosted compiler source, however, these instances need a bit more careful inspection to ensure no breakage.
Diffstat (limited to 'lib/std/os/linux/x86_64.zig')
-rw-r--r--lib/std/os/linux/x86_64.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/linux/x86_64.zig b/lib/std/os/linux/x86_64.zig
index 90aae99082..bc1bccf53f 100644
--- a/lib/std/os/linux/x86_64.zig
+++ b/lib/std/os/linux/x86_64.zig
@@ -100,7 +100,7 @@ pub fn syscall6(
);
}
-const CloneFn = std.meta.FnPtr(fn (arg: usize) callconv(.C) u8);
+const CloneFn = *const fn (arg: usize) callconv(.C) u8;
/// This matches the libc clone function.
pub extern fn clone(func: CloneFn, stack: usize, flags: usize, arg: usize, ptid: *i32, tls: usize, ctid: *i32) usize;