old-DasOS/prototypes/libboot/compat.c
2016-06-26 18:48:36 +02:00

17 lines
No EOL
246 B
C

#include "compat.h"
typedef void (*constructor)();
extern constructor start_ctors;
extern constructor end_ctors;
void compat_call_ctors()
{
for (constructor* i = &start_ctors;i != &end_ctors;++i)
(*i)();
}
void compat_call_dtors()
{
}