remove useless 'extern' declaration