Synopsis: | Variables must not have both internal and external linkage. |
Language: | C |
Severity Level: | 2 |
Category: | SCOPE AND LINKAGE |
Description: |
The behaviour is undefined.Here a variable has been declared at least twice with one of the declarations involving
the static storage-class specifier.
Example: 'number' is implicitly declared external through the first declaration and explicitly static through the second declaration.int number; static int number; |