mtd/fs/jffs2/test histo.h, 1.1, 1.2 histo1.h, 1.1, 1.2 histo2.h, 1.1, 1.2 histo_html.h, 1.1, 1.2 histo_text.h, 1.1, 1.2 main.c, 1.2, 1.3 rtime.h, 1.1, 1.2

gleixner at infradead.org gleixner at infradead.org
Mon Nov 7 06:16:14 EST 2005


Update of /home/cvs/mtd/fs/jffs2/test
In directory phoenix.infradead.org:/tmp/cvs-serv29274/fs/jffs2/test

Modified Files:
	histo.h histo1.h histo2.h histo_html.h histo_text.h main.c 
	rtime.h 
Log Message:
[MTD / JFFS2] Clean up trailing white spaces


Index: histo.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/histo.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- histo.h	19 Feb 2001 10:21:30 -0000	1.1
+++ histo.h	7 Nov 2005 11:14:45 -0000	1.2
@@ -1,2 +1,2 @@
-#define BIT_DIVIDER 1043 
+#define BIT_DIVIDER 1043
 static int bits[9] = { 277,249,290,267,229,341,212,241,};

Index: histo1.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/histo1.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- histo1.h	19 Feb 2001 10:21:30 -0000	1.1
+++ histo1.h	7 Nov 2005 11:14:45 -0000	1.2
@@ -1,2 +1,2 @@
-#define BIT_DIVIDER 755 
+#define BIT_DIVIDER 755
 static int bits[9] = { 108,125,128,93,84,89,119,94,};

Index: histo2.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/histo2.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- histo2.h	19 Feb 2001 10:21:30 -0000	1.1
+++ histo2.h	7 Nov 2005 11:14:45 -0000	1.2
@@ -1,2 +1,2 @@
-#define BIT_DIVIDER 504 
+#define BIT_DIVIDER 504
 static int bits[9] = { 250,210,239,238,233,307,237,144,};

Index: histo_html.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/histo_html.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- histo_html.h	19 Feb 2001 10:21:30 -0000	1.1
+++ histo_html.h	7 Nov 2005 11:14:45 -0000	1.2
@@ -1,2 +1,2 @@
-#define BIT_DIVIDER 631 
+#define BIT_DIVIDER 631
 static int bits[9] = { 268,247,324,252,199,529,436,1, };

Index: histo_text.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/histo_text.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- histo_text.h	19 Feb 2001 10:21:30 -0000	1.1
+++ histo_text.h	7 Nov 2005 11:14:45 -0000	1.2
@@ -1,2 +1,2 @@
-#define BIT_DIVIDER 1187 
+#define BIT_DIVIDER 1187
 static int bits[9] = { 518,418,533,414,310,1069,822,1, };

Index: main.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- main.c	19 Feb 2001 12:01:59 -0000	1.2
+++ main.c	7 Nov 2005 11:14:45 -0000	1.3
@@ -5,7 +5,7 @@
 #define __u32 int
 
 /* _compress returns the compressed size, -1 if bigger */
-int rtime_compress(unsigned char *data_in, unsigned char *cpage_out, 
+int rtime_compress(unsigned char *data_in, unsigned char *cpage_out,
 		   __u32 *sourcelen, __u32 *dstlen);
 
 void rtime_decompress(unsigned char *data_in, unsigned char *cpage_out,
@@ -21,16 +21,16 @@
 	int i;
 	int len,maxlen;
 	FILE *file;
-	
+
 	memset(dest,0xA5,sizeof(dest));
-	
+
 	for (i=0;i<4096;i++)
 		source[i] = i;
-		
+
 	file=fopen("asd","r");
 	while (!feof(file)) {
 		fread(source,1,4096,file);
-	
+
 		len = 4096;
 		maxlen = 40960;
 		result = rubin_compress(source,compr,&len, &maxlen);
@@ -39,17 +39,17 @@
 			exit(0);
 		}
 		printf("Compressed to %i bytes \n",maxlen);
-		
+
 		if (maxlen>4096)
 			continue;
-	
+
 		rubin_decompress(compr,dest,4096,4096);
 		for (i=0;i<4096;i++)
 			if (source[i]!=dest[i]) {
 				printf("Mismatch at position %i: %i -> %i \n",i,source[i],dest[i]);
-			
+
 			}
-		
+
 	}
 	fclose(file);
 }

Index: rtime.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/test/rtime.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rtime.h	19 Feb 2001 10:21:30 -0000	1.1
+++ rtime.h	7 Nov 2005 11:14:45 -0000	1.2
@@ -1,7 +1,7 @@
 #define __u32 int
 
 /* _compress returns the compressed size, -1 if bigger */
-int rtime_compress(unsigned char *data_in, unsigned char *cpage_out, 
+int rtime_compress(unsigned char *data_in, unsigned char *cpage_out,
 		   __u32 *sourcelen, __u32 *dstlen);
 
 void rtime_decompress(unsigned char *data_in, unsigned char *cpage_out,





More information about the linux-mtd-cvs mailing list