mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
rxgen-prototypes-20090315
LICENSE IPL10 FIXES 124255 prototype the rxgen directory
This commit is contained in:
parent
47451b4c20
commit
12a60258f5
@ -92,6 +92,8 @@ emit(definition * def)
|
||||
case DEF_TYPEDEF:
|
||||
emit_typedef(def);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
print_trailer();
|
||||
}
|
||||
@ -378,6 +380,8 @@ print_hout(declaration * dec)
|
||||
f_print(fout, "\t%s%s *%s_val;\n", prefix, dec->type, dec->name);
|
||||
f_print(fout, "} %s", dec->name);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
f_print(fout, ";\n");
|
||||
f_print(fout, "bool_t xdr_%s(XDR *xdrs, %s *objp);\n", dec->name,
|
||||
|
@ -102,6 +102,8 @@ print_datadef(definition * def)
|
||||
case DEF_CONST:
|
||||
pconstdef(def);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (def->def_kind != DEF_PROGRAM && def->def_kind != DEF_CONST
|
||||
&& (!IsRxgenDefinition(def))) {
|
||||
@ -244,6 +246,8 @@ psproc1(definition * defp, int callTconnF, char *type, char *prefix,
|
||||
case DEF_INOUTPARAM:
|
||||
f_print(fout, ",\n\t/*I/O*/ ");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (plist->pl.param_flag & OUT_STRING) {
|
||||
f_print(fout, "%s *%s", plist->pl.param_type,
|
||||
|
@ -1528,6 +1528,8 @@ ss_ProcSpecial_setup(definition * defp, int *somefrees)
|
||||
f_print(fout, "\n\t%s = 0;", plist->pl.param_name);
|
||||
plist->pl.string_name = NULL;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1677,6 +1679,8 @@ ss_ProcTail_setup(definition * defp, int somefrees)
|
||||
f_print(fout, "\tif (!%s) goto fail1;\n",
|
||||
plist->scode);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user