Added "Extern" before external declarations

Forgot to add "Extern".