In ogni caso, anche se è lecito dichiararla void è sconsigliato il suo utilizzo ...
Quindi usa int main che è anche più veloce perchè puoi scrivere:
codice:
main (...)
{
   //restituisce 0 implicitamente
}
(ps il main è l'entry point)