diff test/bitfield1.c @ 545:2f577690bcfb

*** empty log message ***
author kono
date Mon, 02 Jan 2006 14:38:51 +0900
parents 5640fb7a270d
children df60b120675d
line wrap: on
line diff
--- a/test/bitfield1.c	Mon Jan 02 12:55:17 2006 +0900
+++ b/test/bitfield1.c	Mon Jan 02 14:38:51 2006 +0900
@@ -72,7 +72,8 @@
 	int f:4;
     } b;
 } ii;
-
+void main5();
+int
 main()
 {
     int i;
@@ -178,7 +179,7 @@
     return 0;
 }
 
-
+void
 main5()
 {
     int i,j,bit=1;
@@ -199,7 +200,7 @@
     bit=1;
 	for(j=0;j<32;j++,bit<<=1) {
 	    ll.a[i] = bit;
-	     printf("#0201:02:%08x %08x %08x %08x %08x %08x %08x %08x\n",
+	     printf("#0201:02:%02x %02x %02x %02x %02x %02x %02x %02x\n",
 		ll.a[0],ll.a[1],ll.a[2],ll.a[3],
 		ll.a[4],ll.a[5],ll.a[6],ll.a[7]
 	      );