Explorar o código

systemallocator should NOT be static

Ioannis Koutras %!s(int64=14) %!d(string=hai) anos
pai
achega
56035243cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 */