If you get no warnings compiling that then you should turn the warning level up. It should at least be complaining that :
main()should be:
int main(void)

Secondly, if you want to make it use...