aboutsummaryrefslogblamecommitdiff
path: root/src/lib/libc/start.c
blob: 49a6ca10f56b2cb1ce53b9403e077e096c49e30c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                           
 


                      
 
                          


                              
 


                             

 
                                   
#include <kogata/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 :*/