rpc_svcout.c (158713) | rpc_svcout.c (170825) |
---|---|
1/* 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3 * unrestricted use provided that this legend is included on all tape 4 * media and as a part of the software program in whole or part. Users 5 * may copy or modify Sun RPC without charge, but are not authorized 6 * to license or distribute it to anyone else except as part of a product or 7 * program developed by the user. 8 * --- 21 unchanged lines hidden (view full) --- 30#if 0 31#ifndef lint 32#ident "@(#)rpc_svcout.c 1.4 90/04/13 SMI" 33static char sccsid[] = "@(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI"; 34#endif 35#endif 36 37#include <sys/cdefs.h> | 1/* 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3 * unrestricted use provided that this legend is included on all tape 4 * media and as a part of the software program in whole or part. Users 5 * may copy or modify Sun RPC without charge, but are not authorized 6 * to license or distribute it to anyone else except as part of a product or 7 * program developed by the user. 8 * --- 21 unchanged lines hidden (view full) --- 30#if 0 31#ifndef lint 32#ident "@(#)rpc_svcout.c 1.4 90/04/13 SMI" 33static char sccsid[] = "@(#)rpc_svcout.c 1.29 89/03/30 (C) 1987 SMI"; 34#endif 35#endif 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/usr.bin/rpcgen/rpc_svcout.c 158713 2006-05-17 23:18:17Z rwatson $"); | 38__FBSDID("$FreeBSD: head/usr.bin/rpcgen/rpc_svcout.c 170825 2007-06-16 14:39:25Z se $"); |
39 40/* 41 * rpc_svcout.c, Server-skeleton outputter for the RPC protocol compiler 42 * Copyright (C) 1987, Sun Microsystems, Inc. 43 */ 44#include <stdio.h> 45#include <string.h> 46#include "rpc_parse.h" --- 74 unchanged lines hidden (view full) --- 121 122 } 123 124 } 125 126 write_svc_aux(nomain); 127 } 128 /* write out dispatcher and stubs */ | 39 40/* 41 * rpc_svcout.c, Server-skeleton outputter for the RPC protocol compiler 42 * Copyright (C) 1987, Sun Microsystems, Inc. 43 */ 44#include <stdio.h> 45#include <string.h> 46#include "rpc_parse.h" --- 74 unchanged lines hidden (view full) --- 121 122 } 123 124 } 125 126 write_svc_aux(nomain); 127 } 128 /* write out dispatcher and stubs */ |
129 write_programs(nomain? (char *)NULL : "static"); | 129 write_programs((char *)NULL); |
130 131 if (nomain) 132 return; 133 134 f_print(fout, "\nint\n"); 135 f_print(fout, "main()\n"); 136 f_print(fout, "{\n"); 137 if (inetdflag) { --- 880 unchanged lines hidden --- | 130 131 if (nomain) 132 return; 133 134 f_print(fout, "\nint\n"); 135 f_print(fout, "main()\n"); 136 f_print(fout, "{\n"); 137 if (inetdflag) { --- 880 unchanged lines hidden --- |