Print this page
rpcgen should only produce ANSI code

*** 18,27 **** --- 18,29 ---- * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */
*** 130,140 **** else f_print(fout, "\n\t(char *(*)())RPCGEN_ACTION("); /* routine to invoke */ ! if (Cflag && !newstyle) pvname_svc(proc->proc_name, vp->vers_num); else { if (newstyle) /* calls internal func */ f_print(fout, "_"); pvname(proc->proc_name, vp->vers_num); --- 132,142 ---- else f_print(fout, "\n\t(char *(*)())RPCGEN_ACTION("); /* routine to invoke */ ! if (!newstyle) pvname_svc(proc->proc_name, vp->vers_num); else { if (newstyle) /* calls internal func */ f_print(fout, "_"); pvname(proc->proc_name, vp->vers_num);