[previous] 0661 [next] [U] '%s()' may not have a storage class specifier of 'static' when declared at block scope.
Explicitly undefined REFERENCE - ISO:C90-6.5.1 Storage-Class Specifiers - Semantics

A function is being declared with the static storage-class specifier at block scope. This is meaningless.

For example:


/*PRQA S 2017,3205,3221,3408,3447 ++*/

extern void foo(void)
{
   static int fn1(void);                /* Message 0661 */
   extern int fn2(void);                /* OK */
   /* ... */
}

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents