Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 9918285fb10d81af9021dae99c5f4de88ded497c authored by Junio C Hamano on 07 July 2010, 18:19:42 UTC
Git 1.7.2-rc2
Tip revision: 9918285
patch3.patch
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");
-}
-
back to top