projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
mask necessary whitespace policy violations in test scripts
[git]
/
t
/
t4109
/
patch2.patch
1
diff --git a/main.c b/main.c
2
--- a/main.c
3
+++ b/main.c
4
@@ -1,7 +1,9 @@
5
+#include <stdlib.h>
6
#include <stdio.h>
7
8
int func(int num);
9
void print_int(int num);
10
+void print_ln();
11
12
int main() {
13
int i;
14
@@ -10,6 +12,8 @@
15
print_int(func(i));
16
}
17
18
+ print_ln();
19
+
20
return 0;
21
}
22
23
@@ -21,3 +25,7 @@
24
printf("%d", num);
25
}
26
27
+void print_ln() {
28
+ printf("\n");
29
+}
30
+