]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/netkit-rpc/netkit-rpc/gcc4.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / netkit-rpc / netkit-rpc / gcc4.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- netkit-rpc-0.17/rpcgen/rpc_cout.c~gcc4
7 +++ netkit-rpc-0.17/rpcgen/rpc_cout.c
8 @@ -101,8 +101,6 @@
9         case DEF_TYPEDEF:
10                 emit_typedef(def);
11                 break;
12 -       default:
13 -         /* can't happen */
14         }
15         print_trailer();
16  }
17 @@ -664,9 +662,6 @@
18            decl->name,decl->array_max);
19    emit_single_in_line(decl,flag,REL_VECTOR);
20      f_print(fout,"\t\t   }\n\t\t };\n");
21 -
22 -  default:
23 -    /* ?... do nothing I guess */
24    }
25  }
26  
27 --- netkit-rpc-0.17/rpcgen/rpc_hout.c~gcc4
28 +++ netkit-rpc-0.17/rpcgen/rpc_hout.c
29 @@ -106,8 +106,6 @@
30                 f_print(fout, "\n");
31                 pprogramdef(def);
32                 break;
33 -         default:
34 -           /* ?... shouldn't happen I guess */
35         }
36  }
37