Loading...
--- libmalloc/libmalloc-474.0.13/src/nano_malloc_common.h
+++ libmalloc/libmalloc-409.81.2/src/nano_malloc_common.h
@@ -38,11 +38,7 @@
extern unsigned int nano_common_max_magazines;
MALLOC_NOEXPORT
-extern bool nano_common_max_magazines_is_ncpu;
-
-// Index of last region to be allocated
-MALLOC_NOEXPORT
-extern unsigned int nano_max_region;
+extern boolean_t nano_common_max_magazines_is_ncpu;
MALLOC_NOEXPORT
void
@@ -62,16 +58,8 @@
unsigned debug_flags, int vm_page_label, void *base_addr);
MALLOC_NOEXPORT
-bool
+boolean_t
nano_common_allocate_vm_space(mach_vm_address_t base, mach_vm_size_t size);
-
-MALLOC_NOEXPORT
-bool
-nano_common_reserve_vm_space(mach_vm_address_t base, mach_vm_size_t size);
-
-MALLOC_NOEXPORT
-bool
-nano_common_unprotect_vm_space(mach_vm_address_t base, mach_vm_size_t size);
MALLOC_NOEXPORT
void
@@ -82,9 +70,5 @@
nano_common_default_reader(task_t task, vm_address_t address, vm_size_t size,
void **ptr);
-MALLOC_NOEXPORT
-nano_version_t
-_nano_common_init_pick_mode(const char *envp[], const char *apple[], const char *bootargs, bool space_efficient_enabled);
-
#endif // __NANO_MALLOC_COMMON_H