mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 22:58:30 +00:00
20 lines
276 B
C
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++;
|
|
}
|
|
}
|