Explicitly declare C main as returning int

This commit is contained in:
Justin Ethier 2016-07-20 22:35:01 -04:00
parent cfb3209648
commit f46cc5b010

View file

@ -75,7 +75,7 @@
(next (string->list str) '())))
(define *c-main-function*
"main(int argc,char **argv)
"int main(int argc,char **argv)
{gc_thread_data *thd;
long stack_size = global_stack_size = STACK_SIZE;
long heap_size = global_heap_size = HEAP_SIZE;