[ERROR]
A variable with extern storage class cannot be initialized in a function.
void f(void) {
extern int i= 1;
}
Initialize the variable, where it is defined.