repo.or.cz
/
git
/
jrn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'dw/gitweb-doc-grammo'
[git/jrn.git]
/
t
/
t4109
/
patch3.patch
blob
d696c55a752ac61b86691192d46da2566e299830
1
cat > patch3.patch <<\EOF
2
diff --git a/main.c b/main.c
3
--- a/main.c
4
+++ b/main.c
5
@@ -1,9 +1,7 @@
6
-#include <stdlib.h>
7
#include <stdio.h>
8
9
int func(int num);
10
void print_int(int num);
11
-void print_ln();
12
13
int main() {
14
int i;
15
@@ -12,8 +10,6 @@
16
print_int(func(i));
17
}
18
19
- print_ln();
20
-
21
return 0;
22
}
23
24
@@ -25,7 +21,3 @@
25
printf("%d", num);
26
}
27
28
-void print_ln() {
29
- printf("\n");
30
-}
31
-