I was working in the wrong checkout in my last commit...

revert it, and make the constructor-ness conditional on not being
"standalone".
This commit is contained in:
Wez Furlong 2010-06-27 00:05:03 +00:00
parent 7d4d667891
commit 5cc22b9326

4
umem.c
View file

@ -3328,10 +3328,12 @@ fail:
return (0);
}
#ifndef UMEM_STANDALONE
void
__attribute__((section(".init")))
__attribute__((constructor))
__umem_init (void)
{
umem_startup(NULL, 0, 0, NULL, NULL);
}
#endif