Fixed extern declaration