repo.or.cz
/
git
/
spearce.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
builtin-mailinfo.c: check error status from rewind and ftruncate
[git/spearce.git]
/
t
/
t4109
/
patch2.patch
blob
8c6b06d536a06d786f0752ec2aa2a7fae22c8926
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
+