main: Fixed waring for anonymous struct used for global.

Triggered a warning on gcc on raspberyy pi.