We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c73badf commit ce45538Copy full SHA for ce45538
c/misra/test/rules/RULE-8-7/test.c
@@ -1,11 +1,11 @@
1
#include "test.h"
2
int i = 0;
3
int i1 = 0;
4
-int i2; // NON_COMPLIANT - accessed one translation unit
5
-void f1() {} // Definition
6
-void f2() {} // Definition
7
-static void f3() {}; // COMPLIANT - internal linkage
8
-void f4() {} // Definition
+int i2; // NON_COMPLIANT - accessed one translation unit
+void f1() {} // Definition
+void f2() {} // Definition
+static void f3(){}; // COMPLIANT - internal linkage
+void f4() {} // Definition
9
void f() {
10
i = 0;
11
i1 = 0;
0 commit comments