aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/trunctfdf2.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2025-03-03 18:01:47 +0000
committerLinus Groh <mail@linusgroh.de>2025-03-05 03:01:43 +0000
commit79460d4a3eef8eb927b02a7eda8bc9999a766672 (patch)
tree8ce2cfb123bf590e8c522860ad04c13b6e6d9aa9 /lib/compiler_rt/trunctfdf2.zig
parent05937b362a8206f7eca193a28617049371f11b26 (diff)
downloadzig-79460d4a3eef8eb927b02a7eda8bc9999a766672.tar.gz
zig-79460d4a3eef8eb927b02a7eda8bc9999a766672.zip
Remove uses of deprecated callconv aliases
Diffstat (limited to 'lib/compiler_rt/trunctfdf2.zig')
-rw-r--r--lib/compiler_rt/trunctfdf2.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler_rt/trunctfdf2.zig b/lib/compiler_rt/trunctfdf2.zig
index 2dc3242b12..37b9227e0b 100644
--- a/lib/compiler_rt/trunctfdf2.zig
+++ b/lib/compiler_rt/trunctfdf2.zig
@@ -12,10 +12,10 @@ comptime {
@export(&__trunctfdf2, .{ .name = "__trunctfdf2", .linkage = common.linkage, .visibility = common.visibility });
}
-pub fn __trunctfdf2(a: f128) callconv(.C) f64 {
+pub fn __trunctfdf2(a: f128) callconv(.c) f64 {
return truncf(f64, f128, a);
}
-fn _Qp_qtod(a: *const f128) callconv(.C) f64 {
+fn _Qp_qtod(a: *const f128) callconv(.c) f64 {
return truncf(f64, f128, a.*);
}