aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libkogata/start.c
blob: bd22d7a5359e7dd4c71dcf7b2905114fd7a7271c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <syscall.h>

void malloc_setup();

int main(int, char**);

void __libkogata_start() {
	malloc_setup();

	// TODO : more setup ?

	int ret = main(0, 0);

	exit(ret);
}

/* vim: set ts=4 sw=4 tw=0 noet :*/