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:
parent
7d4d667891
commit
5cc22b9326
1 changed files with 3 additions and 1 deletions
4
umem.c
4
umem.c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue