Mi dà errore ... quale?

Se devi passare una struttura di quel tipo la passi per puntatore

void media(struct tutte *tp)