C1072: Redefined extern to static

[WARNING]

Description

If the option -ANSI is disabled, the nonstandard extension issues only a warning, not an error.

Example
  extern int i;

  
  static int i;  // warning

  
Tips

Remove either the extern specifier of the first declaration, or the static specifier of the second occurrence of the identifier.