fix: add missing extern "C" to dc_array_is_independent

It was the only `unsafe fn` (not `unsafe extern "C" fn`) in lib.rs
This commit is contained in:
link2xt
2026-04-07 07:26:02 +02:00
committed by l
parent 795fe9a38b
commit a2bb8962cb

View File

@@ -2826,7 +2826,7 @@ pub unsafe extern "C" fn dc_array_search_id(
// Returns 1 if location belongs to the track of the user,
// 0 if location was reported independently.
#[no_mangle]
pub unsafe fn dc_array_is_independent(
pub unsafe extern "C" fn dc_array_is_independent(
array: *const dc_array_t,
index: libc::size_t,
) -> libc::c_int {