Fixed misplaced extern