...
This compliant solution does not declare the variable at file scope to be static and so the variable has external linkage by default.
| Code Block | ||||
|---|---|---|---|---|
| ||||
int I = 12;
extern inline void func(int a) {
int b = a * I;
/* ... */
}
|
Risk Risk Assessment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
DCL41-C | Low | Unlikely | Medium | P2 | L3 |
...