Deleted Added
full compact
rpc_tblout.c (149682) rpc_tblout.c (149709)
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_tblout.c 1.11 93/07/05 SMI"
33static char sccsid[] = "@(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 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_tblout.c 1.11 93/07/05 SMI"
33static char sccsid[] = "@(#)rpc_tblout.c 1.4 89/02/22 (C) 1988 SMI";
34#endif
35#endif
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/usr.bin/rpcgen/rpc_tblout.c 149682 2005-08-31 20:45:15Z stefanf $");
38__FBSDID("$FreeBSD: head/usr.bin/rpcgen/rpc_tblout.c 149709 2005-09-02 10:23:26Z stefanf $");
39
40/*
41 * rpc_tblout.c, Dispatch table outputter for the RPC protocol compiler
42 * Copyright (C) 1989, Sun Microsystems, Inc.
43 */
44#include <err.h>
45#include <stdio.h>
46#include <string.h>

--- 70 unchanged lines hidden (view full) ---

117 warning = 1;
118 nonfatalerrors = 1;
119 }
120 expected = current + 1;
121 }
122 f_print(fout, "\n\t(char *(*)())RPCGEN_ACTION(");
123
124 /* routine to invoke */
39
40/*
41 * rpc_tblout.c, Dispatch table outputter for the RPC protocol compiler
42 * Copyright (C) 1989, Sun Microsystems, Inc.
43 */
44#include <err.h>
45#include <stdio.h>
46#include <string.h>

--- 70 unchanged lines hidden (view full) ---

117 warning = 1;
118 nonfatalerrors = 1;
119 }
120 expected = current + 1;
121 }
122 f_print(fout, "\n\t(char *(*)())RPCGEN_ACTION(");
123
124 /* routine to invoke */
125 if( Cflag && !newstyle )
125 if( !newstyle )
126 pvname_svc(proc->proc_name, vp->vers_num);
127 else {
128 if( newstyle )
129 f_print( fout, "_"); /* calls internal func */
130 pvname(proc->proc_name, vp->vers_num);
131 }
132 f_print(fout, "),\n");
133

--- 43 unchanged lines hidden ---
126 pvname_svc(proc->proc_name, vp->vers_num);
127 else {
128 if( newstyle )
129 f_print( fout, "_"); /* calls internal func */
130 pvname(proc->proc_name, vp->vers_num);
131 }
132 f_print(fout, "),\n");
133

--- 43 unchanged lines hidden ---