Added missing extern keyword