Error: Variable or field 'setup' declared void

You can't put a function, like setup(), inside a function, like blinker(). You also can't put a loop() function in there.

You can only have one setup() function ad one loop() function.