...
- No linkage: If an identifier has no linkage, then any further declaration using the identifier declares something new, such as a new variable or a new type.
According to the C Standard Standard, subclause 6.2.2 [ISO/IEC 9899:2011], linkage is determined as follows:
...
The following table identifies the linkage assigned to an object that is declared twice in a single translation unit. The column designates the first declaration, and the row designates the redeclaration.
1st \ 2nd |
| No Linkage |
|
---|---|---|---|
| Internal | Undefined | InternalNone |
No Linkage | UndefinedExternal | No Linkage | External |
| Undefined | ExternalUndefined | External |
Noncompliant Code Example
...