patch-2.4.25 linux-2.4.25/arch/cris/kernel/hexify.c

Next file: linux-2.4.25/arch/cris/kernel/ksyms.c
Previous file: linux-2.4.25/arch/cris/kernel/debug.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/cris/kernel/hexify.c linux-2.4.25/arch/cris/kernel/hexify.c
@@ -1,31 +0,0 @@
-#include <stdio.h>
-
-
-void main()
-{
-	int c;
-	int comma=0;
-	int count=0;
-	while((c=getchar())!=EOF)
-	{
-		unsigned char x=c;
-		if(comma)
-			printf(",");
-		else
-			comma=1;
-		if(count==8)
-		{
-			count=0;
-			printf("\n");
-		}
-		if(count==0)
-			printf("\t");
-		printf("0x%02X",c);
-		count++;
-	}
-	if(count)
-		printf("\n");
-	exit(0);
-}
-
-		

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)