X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=runtime%2Fmem.c;fp=runtime%2Fmem.c;h=57d94aa59fe817aa3e88c5c8dc4dc4365639336a;hp=1f7a5a6e769fdd0193e69baac6eb0ae8e1d2eea0;hb=6b4f3ea4891b6c0e65dfd6d41f49aee2daa9e23d;hpb=0f6e9afb06b03647c4c5f2499ddab12f42b4340e diff --git a/runtime/mem.c b/runtime/mem.c index 1f7a5a6..57d94aa 100644 --- a/runtime/mem.c +++ b/runtime/mem.c @@ -95,7 +95,7 @@ static void *get_new_region (int block_scale) { return region; } -__attribute__ ((constructor(101))) void mem_init (void) { +void mem_init (void) { #ifdef USE_SYSTEM_MALLOC return; #endif