fix: Rust 2024 errors

This commit is contained in:
Michael Aaron Murphy 2025-03-19 19:23:34 +01:00
parent 77c3a8ed90
commit 2afa192573
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 11 additions and 11 deletions

View file

@ -5,7 +5,7 @@ use std::os::raw::c_int;
const M_MMAP_THRESHOLD: c_int = -3;
extern "C" {
unsafe extern "C" {
fn malloc_trim(pad: usize);
fn mallopt(param: c_int, value: c_int) -> c_int;