well it's worth it to take a look and see what exactly main is returning to.
seeing this it is clear that main should ALWAYS return a value. however it is optional
for main to have argc,argv. if they are not there, void should be. so, you should have either:
int main(int argc, char **argv)