Stop generating the `register' keyword.
This commit is contained in:
parent
15df5e2d43
commit
896cdc310c
@ -136,7 +136,7 @@ print_generic_header(procname, pointerp)
|
||||
f_print(fout, "\n");
|
||||
f_print(fout, "bool_t\n");
|
||||
f_print(fout, "xdr_%s(", procname);
|
||||
f_print(fout, "register XDR *xdrs, ");
|
||||
f_print(fout, "XDR *xdrs, ");
|
||||
f_print(fout, "%s ", procname);
|
||||
if (pointerp)
|
||||
f_print(fout, "*");
|
||||
@ -671,7 +671,7 @@ int flag;
|
||||
tabify(fout, indent);
|
||||
f_print(fout, "{\n");
|
||||
tabify(fout, indent + 1);
|
||||
f_print(fout, "register %s *genp;\n\n", decl->type);
|
||||
f_print(fout, "%s *genp;\n\n", decl->type);
|
||||
tabify(fout, indent + 1);
|
||||
f_print(fout,
|
||||
"for (i = 0, genp = objp->%s;\n", decl->name);
|
||||
|
@ -290,7 +290,7 @@ pdispatch(char * name, char *vers)
|
||||
|
||||
f_print(fout, "void ");
|
||||
pvname(name, vers);
|
||||
f_print(fout, "(struct svc_req *rqstp, register SVCXPRT *transp);\n");
|
||||
f_print(fout, "(struct svc_req *rqstp, SVCXPRT *transp);\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -423,7 +423,7 @@ write_program(def, storage)
|
||||
pvname(def->def_name, vp->vers_num);
|
||||
|
||||
f_print(fout, "(struct svc_req *%s, ", RQSTP);
|
||||
f_print(fout, "register SVCXPRT *%s)\n", TRANSP);
|
||||
f_print(fout, "SVCXPRT *%s)\n", TRANSP);
|
||||
f_print(fout, "{\n");
|
||||
|
||||
filled = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user