瀏覽代碼

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 */