Skip to content

Commit ce45538

Browse files
committed
Reformat C test case
1 parent c73badf commit ce45538

File tree

1 file changed

+5
-5
lines changed
  • c/misra/test/rules/RULE-8-7

1 file changed

+5
-5
lines changed

c/misra/test/rules/RULE-8-7/test.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#include "test.h"
22
int i = 0;
33
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
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
99
void f() {
1010
i = 0;
1111
i1 = 0;

0 commit comments

Comments
 (0)