aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-06 14:12:01 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-06 14:12:01 -0500
commit343987cd057c5f2f0aad197518d7d573579d0d08 (patch)
tree733e506597f80f4aeb040dc7c931d77c2d0dbcaf /lib/std/os/linux.zig
parentef83358eb6702e8541816817e98c3e7279033672 (diff)
downloadzig-343987cd057c5f2f0aad197518d7d573579d0d08.tar.gz
zig-343987cd057c5f2f0aad197518d7d573579d0d08.zip
remove `@inlineCall` from zig
Diffstat (limited to 'lib/std/os/linux.zig')
-rw-r--r--lib/std/os/linux.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
index e3d84e1e63..907fd24db1 100644
--- a/lib/std/os/linux.zig
+++ b/lib/std/os/linux.zig
@@ -94,7 +94,7 @@ pub fn fork() usize {
/// the compiler is not aware of how vfork affects control flow and you may
/// see different results in optimized builds.
pub inline fn vfork() usize {
- return @inlineCall(syscall0, SYS_vfork);
+ return @call(.{ .modifier = .always_inline }, syscall0, .{SYS_vfork});
}
pub fn futimens(fd: i32, times: *const [2]timespec) usize {