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