extern fixes gcc warning about array sizes