reactos/lib/sdk/crt/misc/initterm.c
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00

20 lines
276 B
C

#include <stdlib.h>
/*
* @implemented
*/
void _initterm(void (*fStart[])(void), void (*fEnd[])(void))
{
int i = 0;
if ( fStart == NULL || fEnd == NULL )
return;
while ( &fStart[i] < fEnd )
{
if ( fStart[i] != NULL )
(*fStart[i])();
i++;
}
}