Clean up some minor white space nonsense in the output.

This commit is contained in:
mycroft 1997-10-09 15:13:19 +00:00
parent a377886de6
commit eefe653830
3 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpc_hout.c,v 1.4 1995/06/11 21:49:55 pk Exp $ */
/* $NetBSD: rpc_hout.c,v 1.5 1997/10/09 15:13:19 mycroft Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@ -115,17 +115,17 @@ char* name;
int pointerp;
{
f_print(fout,"#ifdef __cplusplus \n");
f_print(fout,"#ifdef __cplusplus\n");
f_print(fout, "extern \"C\" bool_t xdr_%s(XDR *, %s%s);\n",
name,
name, pointerp ? ("*") : "");
f_print(fout,"#elif __STDC__ \n");
f_print(fout,"#elif __STDC__\n");
f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n",
name,
name, pointerp ? ("*") : "");
f_print(fout,"#else /* Old Style C */ \n");
f_print(fout,"#else /* Old Style C */\n");
f_print(fout, "bool_t xdr_%s();\n", name);
f_print(fout,"#endif /* Old Style C */ \n\n");
f_print(fout,"#endif /* Old Style C */\n\n");
}
@ -287,7 +287,7 @@ pprogramdef(def)
f_print(fout,"\n#elif __STDC__\n");
ext="extern " ;
}else{
f_print(fout,"\n#else /* Old Style C */ \n");
f_print(fout,"\n#else /* Old Style C */\n");
ext="extern ";
}
@ -304,7 +304,7 @@ pprogramdef(def)
}
}
f_print(fout,"#endif /* Old Style C */ \n");
f_print(fout,"#endif /* Old Style C */\n");
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpc_main.c,v 1.10 1997/01/09 20:21:06 tls Exp $ */
/* $NetBSD: rpc_main.c,v 1.11 1997/10/09 15:13:20 mycroft Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -32,7 +32,7 @@
#ifndef lint
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
static char rcsid[] = "$NetBSD: rpc_main.c,v 1.10 1997/01/09 20:21:06 tls Exp $";
static char rcsid[] = "$NetBSD: rpc_main.c,v 1.11 1997/10/09 15:13:20 mycroft Exp $";
#endif
/*
@ -299,7 +299,7 @@ static void find_cpp()
if( stat(CPP, &buf) < 0 ) { /* SVR4 or explicit cpp does not exist */
if (cppDefined) {
fprintf( stderr, "cannot find C preprocessor: %s \n", CPP );
fprintf( stderr, "cannot find C preprocessor: %s\n", CPP );
crash();
} else { /* try the other one */
CPP = SUNOS_CPP;
@ -593,7 +593,7 @@ s_output(argc, argv, infile, define, extend, outfile, nomain, netflag)
if (Cflag) {
f_print (fout,
"#include <rpc/pmap_clnt.h> /* for pmap_unset */\n");
f_print (fout, "#include <string.h> /* strcmp */ \n");
f_print (fout, "#include <string.h> /* strcmp */\n");
}
f_print(fout, "#include <netdb.h>\n"); /*evas*/
if (strcmp(svcclosetime, "-1") == 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpc_sample.c,v 1.2 1995/06/11 21:50:01 pk Exp $ */
/* $NetBSD: rpc_sample.c,v 1.3 1997/10/09 15:13:21 mycroft Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@ -177,7 +177,7 @@ write_sample_server(def)
f_print( fout, "extern \"C\"{\n");
*/
return_type(proc);
f_print(fout, "* \n");
f_print(fout, "*\n");
if( Cflag )
pvname_svc(proc->proc_name, vp->vers_num);
else