fix missing void

This commit is contained in:
Daan 2024-12-09 20:50:00 -08:00
parent ed31847112
commit 2556a2022d

View file

@ -703,7 +703,7 @@ size_t _mi_os_numa_node_count_get(void) {
return count; return count;
} }
int _mi_os_numa_node_get() { int _mi_os_numa_node_get(void) {
size_t numa_count = _mi_os_numa_node_count(); size_t numa_count = _mi_os_numa_node_count();
if (numa_count<=1) return 0; // optimize on single numa node systems: always node 0 if (numa_count<=1) return 0; // optimize on single numa node systems: always node 0
// never more than the node count and >= 0 // never more than the node count and >= 0