diff options
| author | Linus Groh <mail@linusgroh.de> | 2025-03-03 18:01:47 +0000 |
|---|---|---|
| committer | Linus Groh <mail@linusgroh.de> | 2025-03-05 03:01:43 +0000 |
| commit | 79460d4a3eef8eb927b02a7eda8bc9999a766672 (patch) | |
| tree | 8ce2cfb123bf590e8c522860ad04c13b6e6d9aa9 /test/standalone/stack_iterator | |
| parent | 05937b362a8206f7eca193a28617049371f11b26 (diff) | |
| download | zig-79460d4a3eef8eb927b02a7eda8bc9999a766672.tar.gz zig-79460d4a3eef8eb927b02a7eda8bc9999a766672.zip | |
Remove uses of deprecated callconv aliases
Diffstat (limited to 'test/standalone/stack_iterator')
| -rw-r--r-- | test/standalone/stack_iterator/shared_lib_unwind.zig | 4 | ||||
| -rw-r--r-- | test/standalone/stack_iterator/unwind_freestanding.zig | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/standalone/stack_iterator/shared_lib_unwind.zig b/test/standalone/stack_iterator/shared_lib_unwind.zig index 6a168d4b5d..2f933e5075 100644 --- a/test/standalone/stack_iterator/shared_lib_unwind.zig +++ b/test/standalone/stack_iterator/shared_lib_unwind.zig @@ -23,7 +23,7 @@ noinline fn frame3(expected: *[5]usize, unwound: *[5]usize) void { frame4(expected, unwound); } -fn frame2(expected: *[5]usize, unwound: *[5]usize) callconv(.C) void { +fn frame2(expected: *[5]usize, unwound: *[5]usize) callconv(.c) void { expected[2] = @returnAddress(); frame3(expected, unwound); } @@ -31,7 +31,7 @@ fn frame2(expected: *[5]usize, unwound: *[5]usize) callconv(.C) void { extern fn frame0( expected: *[5]usize, unwound: *[5]usize, - frame_2: *const fn (expected: *[5]usize, unwound: *[5]usize) callconv(.C) void, + frame_2: *const fn (expected: *[5]usize, unwound: *[5]usize) callconv(.c) void, ) void; pub fn main() !void { diff --git a/test/standalone/stack_iterator/unwind_freestanding.zig b/test/standalone/stack_iterator/unwind_freestanding.zig index 38ec5dd101..d95b0d4fcf 100644 --- a/test/standalone/stack_iterator/unwind_freestanding.zig +++ b/test/standalone/stack_iterator/unwind_freestanding.zig @@ -37,7 +37,7 @@ noinline fn frame0(expected: *[4]usize, unwound: *[4]usize) void { } // No-OS entrypoint -export fn _start() callconv(.C) noreturn { +export fn _start() callconv(.c) noreturn { var expected: [4]usize = undefined; var unwound: [4]usize = undefined; frame0(&expected, &unwound); |
