casts, so that output is a bit happier with prototyped rpc headers.

This commit is contained in:
cgd 1994-12-24 17:36:16 +00:00
parent 775c14ed64
commit 4ec4c082a9
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)rpc_svcout.c 1.6 87/06/24 (C) 1987 SMI";*/
static char rcsid[] = "$Id: rpc_svcout.c,v 1.3 1993/08/01 18:09:17 mycroft Exp $";
static char rcsid[] = "$Id: rpc_svcout.c,v 1.4 1994/12/24 17:36:16 cgd Exp $";
#endif
/*
@ -222,7 +222,7 @@ write_program(def, storage)
f_print(fout, "\t}\n");
f_print(fout, "\tbzero((char *)&%s, sizeof(%s));\n", ARG, ARG);
printif("getargs", TRANSP, "&", ARG);
printif("getargs", TRANSP, "(caddr_t)&", ARG);
printerr("decode", TRANSP);
f_print(fout, "\t\treturn;\n");
f_print(fout, "\t}\n");
@ -235,7 +235,7 @@ write_program(def, storage)
printerr("systemerr", TRANSP);
f_print(fout, "\t}\n");
printif("freeargs", TRANSP, "&", ARG);
printif("freeargs", TRANSP, "(caddr_t)&", ARG);
f_print(fout, "\t\t(void)fprintf(stderr, \"unable to free arguments\\n\");\n");
f_print(fout, "\t\texit(1);\n");
f_print(fout, "\t}\n");