Remove MB_CUR_MAX from our libc ffi

We no longer need this.
This commit is contained in:
Peter Ammon
2025-08-10 16:47:35 -07:00
parent a04ddd9b17
commit d06f7f01d2
2 changed files with 1 additions and 4 deletions

View File

@@ -3,14 +3,12 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h> // MB_CUR_MAX
#include <stdlib.h>
#include <sys/mount.h> // MNT_LOCAL
#include <sys/resource.h>
#include <sys/statvfs.h> // ST_LOCAL
#include <unistd.h> // _CS_PATH, _PC_CASE_SENSITIVE
size_t C_MB_CUR_MAX() { return MB_CUR_MAX; }
uint64_t C_ST_LOCAL() {
#if defined(ST_LOCAL)
return ST_LOCAL;

View File

@@ -29,7 +29,6 @@ pub fn $cvar() -> $type {
};
}
CVAR!(C_MB_CUR_MAX, MB_CUR_MAX, usize);
CVAR!(C_ST_LOCAL, ST_LOCAL, u64);
CVAR!(C_MNT_LOCAL, MNT_LOCAL, u64);
CVAR!(C_CS_PATH, _CS_PATH, i32);