mirror of
https://github.com/reactos/reactos.git
synced 2024-09-23 11:08:53 +00:00
21 lines
276 B
C
21 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++;
|
||
|
}
|
||
|
}
|