Synopsis: | Do not declare functions within functions. |
Language: | C |
Severity Level: | 3 |
Category: | Expressions |
Description: |
Justification For portability reasons (ANSI C89 does not allow this) do not declare a function within a function. Example int CCBB_f(void) { int r = OK; static int ccbb_foo(void) /* WRONG */ { ... } }; |