aboutsummaryrefslogtreecommitdiff
path: root/core/sys/posix
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-08 12:33:34 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-08-08 12:33:34 +0100
commitd381d0ece4b9cd5fcf454fbd7ca79969d2b76cb8 (patch)
tree46744c069541f90aa965b8f6817e999289654512 /core/sys/posix
parentd3f649d244529d93b489140e5c7a1aaff97bedb2 (diff)
Fix more procedure to be `contextless`
Diffstat (limited to 'core/sys/posix')
-rw-r--r--core/sys/posix/stdlib_libc.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/posix/stdlib_libc.odin b/core/sys/posix/stdlib_libc.odin
index e31c51704..966dc1d32 100644
--- a/core/sys/posix/stdlib_libc.odin
+++ b/core/sys/posix/stdlib_libc.odin
@@ -60,7 +60,7 @@ wctomb :: libc.wctomb
mbstowcs :: libc.mbstowcs
wcstombs :: libc.wcstombs
-free :: #force_inline proc(ptr: $T) where intrinsics.type_is_pointer(T) || intrinsics.type_is_multi_pointer(T) || T == cstring {
+free :: #force_inline proc "c" (ptr: $T) where intrinsics.type_is_pointer(T) || intrinsics.type_is_multi_pointer(T) || T == cstring {
libc.free(rawptr(ptr))
}