La funzione va chiamata così

unione (a, b);