Print this page
rpcgen should only produce ANSI code
@@ -18,10 +18,12 @@
*
* 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,11 +132,11 @@
else
f_print(fout,
"\n\t(char *(*)())RPCGEN_ACTION(");
/* routine to invoke */
- if (Cflag && !newstyle)
+ 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);