about summary refs log tree commit diff
path: root/third_party/git/t/t4109/patch3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t4109/patch3.patch')
-rw-r--r--third_party/git/t/t4109/patch3.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/third_party/git/t/t4109/patch3.patch b/third_party/git/t/t4109/patch3.patch
new file mode 100644
index 0000000000..d696c55a75
--- /dev/null
+++ b/third_party/git/t/t4109/patch3.patch
@@ -0,0 +1,31 @@
+cat > patch3.patch <<\EOF
+diff --git a/main.c b/main.c
+--- a/main.c
++++ b/main.c
+@@ -1,9 +1,7 @@
+-#include <stdlib.h>
+ #include <stdio.h>
+ 
+ int func(int num);
+ void print_int(int num);
+-void print_ln();
+ 
+ int main() {
+ 	int i;
+@@ -12,8 +10,6 @@
+ 		print_int(func(i));
+ 	}
+ 
+-	print_ln();
+-
+ 	return 0;
+ }
+ 
+@@ -25,7 +21,3 @@
+ 	printf("%d", num);
+ }
+ 
+-void print_ln() {
+-	printf("\n");
+-}
+-