Strange compiler error

I missed noticing or posting a second line in the error code. As a second line it says"error expected ";" or "," before void

I am still clueless. I can't figure out what changed, and why my earlier versions compiled and ran.