summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 16:04:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 16:04:46 +0000
commit830de180047c5f8c9d1bec13a3419a922737eb25 (patch)
tree25003a0ba0d2409f9a826d7b1043de34985d7318 /usr.bin/rpcgen
parent9524a86f5a6ef9a8bfe070b56b66ffd7c2e408ac (diff)
better output C
Diffstat (limited to 'usr.bin/rpcgen')
-rw-r--r--usr.bin/rpcgen/rpc_hout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rpcgen/rpc_hout.c b/usr.bin/rpcgen/rpc_hout.c
index 8d89e0ab09c..caa694540aa 100644
--- a/usr.bin/rpcgen/rpc_hout.c
+++ b/usr.bin/rpcgen/rpc_hout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_hout.c,v 1.13 2003/06/19 20:31:08 deraadt Exp $ */
+/* $OpenBSD: rpc_hout.c,v 1.14 2003/06/25 16:04:45 deraadt Exp $ */
/* $NetBSD: rpc_hout.c,v 1.4 1995/06/11 21:49:55 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -119,10 +119,10 @@ pxdrfuncdecl(name, pointerp)
{
fprintf(fout,"#ifdef __cplusplus\n");
- fprintf(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s%s);\n",
+ fprintf(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s %s);\n",
name, name, pointerp ? ("*") : "");
fprintf(fout,"#elif defined(__STDC__)\n");
- fprintf(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n",
+ fprintf(fout, "extern bool_t xdr_%s(XDR *, %s %s);\n",
name, name, pointerp ? ("*") : "");
fprintf(fout,"#else /* Old Style C */\n");
fprintf(fout, "bool_t xdr_%s();\n", name);