=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rpcgen/rpc_hout.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/rpcgen/rpc_hout.c 1996/09/15 08:52:41 1.3 +++ src/usr.bin/rpcgen/rpc_hout.c 1997/07/25 21:05:39 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: rpc_hout.c,v 1.3 1996/09/15 08:52:41 tholo Exp $ */ +/* $OpenBSD: rpc_hout.c,v 1.4 1997/07/25 21:05:39 mickey 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 @@ -116,17 +116,17 @@ 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 defined(__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"); } @@ -285,10 +285,10 @@ f_print(fout,"\n#ifdef __cplusplus\n"); ext="extern \"C\" "; }else if ( i== 1){ - f_print(fout,"\n#elif __STDC__\n"); + f_print(fout,"\n#elif defined(__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 "; } @@ -305,7 +305,7 @@ } } - f_print(fout,"#endif /* Old Style C */ \n"); + f_print(fout,"#endif /* Old Style C */\n"); } }