ソースを参照

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