diff test/strinit.c @ 559:c55b51d51f8f

*** empty log message ***
author kono
date Sat, 07 Jan 2006 13:09:45 +0900
parents 293f827ccfb2
children 3de2ae36c7e5
line wrap: on
line diff
--- a/test/strinit.c	Sat Jan 07 12:46:38 2006 +0900
+++ b/test/strinit.c	Sat Jan 07 13:09:45 2006 +0900
@@ -41,6 +41,12 @@
 void
 linux_kernel();
 
+struct test{
+    int a,b,c;
+} huga = {
+    0,0,0,
+};
+
 int
 main()
 {
@@ -77,6 +83,8 @@
     printf("#0076:2: %d\n",temp12.m.k);
     printf("#0077:2: %d\n",temp12.m.j);
     printf("#0078:2: %d\n",temp11.c==(int)&b);
+    printf("#0068:2: %d\n",temp8.e);
+    printf("#0068:2: %d\n",temp6.e);
     linux_kernel();
     return 0;
 }
@@ -143,7 +151,7 @@
 
 
 static __inline__ __attribute__((always_inline)) __attribute__((always_inline)) 
-int ip_route_connect(/* struct rtable **rp, */ u32 dst,
+void ip_route_connect(/* struct rtable **rp, */ u32 dst,
                                    u32 src, u32 tos, int oif, u8 protocol,
                                    u16 sport, u16 dport /*, struct sock *sk */)
 {
@@ -160,7 +168,7 @@
 }
 
 static 
-int ip_route_connect0(/* struct rtable **rp, */ u32 dst,
+void ip_route_connect0(/* struct rtable **rp, */ u32 dst,
                                    u32 src, u32 tos, int oif, u8 protocol,
                                    u16 sport, u16 dport /*, struct sock *sk */)
 {