projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'maint'
[git]
/
t
/
t4109
/
patch3.patch
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
-