Преглед изворни кода

systemallocator should NOT be static

Ioannis Koutras пре 14 година
родитељ
комит
56035243cf
1 измењених фајлова са 1 додато и 1 уклоњено
  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 */