Pārlūkot izejas kodu

systemallocator should NOT be static

Ioannis Koutras 14 gadi atpakaļ
vecāks
revīzija
56035243cf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/dmmlib/dmmlib.h

+ 1 - 1
include/dmmlib/dmmlib.h

@@ -9,7 +9,7 @@ void custom_ahfree(allocator_t *allocator, heap_t* heap, void *ptr);
 void * custom_malloc(size_t size);
 void custom_free(void *ptr);
 
-static allocator_t systemallocator;
+allocator_t systemallocator;
 #endif /* WITH_MEMORY_SPACE_AWARENESS */