Error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'

I'll stand back for the experts on the IoT editor to arrive...
Is it always with the Adafruit library, or no?