TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

SR:  11.2#2Checked automatically with code checker

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:

int number;
static int number;
'number' is implicitly declared external through the first declaration and explicitly static through the second declaration.