Synopsis: | A function declared locally must have no storage-class specifier other than 'extern'. |
Language: | C |
Severity Level: | 4 |
Category: | EXTERNAL DECLARATIONS |
Description: |
This leads to undefined behaviour.
Example: { static intfn(); /* undefined */ extern intfn2(); /* legal, but not recommended */ ... } |