"#endif\n"
"\n"
"#include <stdint.h>\n"
- "#include <rpc/rpc.h>\n"
+ "#include <rpc/types.h>\n"
+ "#include <rpc/xdr.h>\n"
"\n"
"/* Use the following symbol in your code to detect whether\n"
" * PortableXDR's rpcgen was used to compile the source file.\n"
case type_hyper:
if (type->sgn) r = "quad_t"; else r = "u_quad_t";
break;
+ case type_float:
+ r = "float";
+ break;
case type_double:
r = "double";
break;
case type_hyper:
r = strdup ("8");
break;
+ case type_float:
+ r = strdup ("4");
+ break;
case type_double:
r = strdup ("8");
break;
else fputs ("uint64_t", yyout);
break;
+ case type_float:
+ fputs ("float", yyout);
+ break;
+
case type_double:
fputs ("double", yyout);
break;