Unexpected symbol `void'

The following error occurs: Unexpected symbol `void’

You forgot one } at the end.